logoalt Hacker News

ibobev • today at 5:03 PM • 2 replies • view on HN

What do you mean by "allocator-aware version of the STL"? The standard STL is also allocator-aware, and its containers have versions with a template allocator parameter and a polymorphic allocator.


Replies

yeureka • today at 5:23 PM

That is correct. However at Bloomberg all functions that potentially allocate memory have to have an allocator passed as an argument or use a local allocator since the BDE requires allocator parameters to always be passed, there are no default allocator arguments like in the STL.

whorleater • today at 7:15 PM

https://bloomberg.github.io/bde/white_papers/unleashing-aa-s...

lakos was one of the primary drivers of this