3 ms·
Everything in C++ is opt-in. The Standard C++ Library supports user-managed allocators for all the containers, heavily used in embedded, low-latency, and real-
by ncmncm 7y ago
Everything in C++ is opt-in.
The Standard C++ Library supports user-managed allocators for all the containers, heavily used in embedded, low-latency, and real-time applications to get deterministic performance.
Lack of standard support for user-provided allocators indicates immaturity. E.g., C++ lacked them until 2011.