3 ms·
You either pass the allocator around to every stl container, and everything that uses an stl container. Or you override new/delete and have a sidechannel that d
by clddd 5y ago
You either pass the allocator around to every stl container, and everything that uses an stl container. Or you override new/delete and have a sidechannel that defines what arena to allocate in.
- klibertp 5y agoThe second option seems much more convenient - I didn't know you can do that!