But... new isn't listed among overloadable operators, and I don't want to set allocators per class. I want to allocate the same class from different pools. How?
See emplace: http://dlang.org/phobos/std_conv.html#.emplace
But... new isn't listed among overloadable operators, and I don't want to set allocators per class. I want to allocate the same class from different pools. How?
See emplace: http://dlang.org/phobos/std_conv.html#.emplace