News for hackers. Stuff that matters.
Re:Modern C++ Won't Save Us (2019) by clddd on Monday April 26, 2021 @09:38AM (#26942360)
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.
Re:Modern C++ Won't Save Us (2019) by klibertp on Monday April 26, 2021 @05:00PM (#26948068)
The second option seems much more convenient - I didn't know you can do that!