Tags: #memory #usage #stl
The C++ standard doesn’t dictate exact implementation details for standard library classes, so it’s unsurprising that details of memory usage are missing from most references.
http://info.prelert.com/blog/stl-container-memory-usage
The C++ standard doesn’t dictate exact implementation details for standard library classes, so it’s unsurprising that details of memory usage are missing from most references.
http://info.prelert.com/blog/stl-container-memory-usage
Prelert
STL Container Memory Usage when Developing with C++
When writing C++ code for many platforms the STL container memory usage can vary between implementations (Microsoft, GNU, etc). Make the right tradeoffs.