std::basic_string::get_allocator

From Cppreference

Jump to: navigation, search
​allocator_type get_allocator() const;

Returns the allocator associated with the string.

Contents

Parameters

(none)

Return value

the associated allocator

Complexity

constant

See also

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages