3 ms·
A potential problem with "operator new" is that it you can only have one allocator per type for the entire process. When you explicitly pass a factory, you can
by majewsky 8y ago
A potential problem with "operator new" is that it you can only have one allocator per type for the entire process. When you explicitly pass a factory, you can have separate factory instances.
- AstralStorm 8y agoOr if you template your types on an allocator, like STL does in some cases.