Allocators are classes that define memory models to be used by some parts of the C++ Standard Library, and most specifically, by STL containers.
See Implementation
Allocators are classes that define memory models to be used by some parts of the C++ Standard Library, and most specifically, by STL containers.