Allocators define memory allocation models. For string objects this is an object of the standard allocator type for char elements: allocator<char>, which is value independent, but basic_string objects may specify different allocator types as a template parameter of the class template, and different values for them on object construction.
Parameters
noneReturn Value
The allocator value.Basic template member declaration
( basic_string<charT,traits,Allocator> )| 1 2 |
|
