2 ms·
Most STL data structures take an allocator template argument. If you fight the compiler enough to make your own std::allocator with preallocation then the STL
by CoolGuySteve 5y ago
Most STL data structures take an allocator template argument. If you fight the compiler enough to make your own std::allocator with preallocation then the STL is actually pretty nice.