cppreference.com
Search
Log in / create account
Namespaces
Page
Discussion
Variants
Views
View
Edit
History
Actions
std::map::
get_allocator
From cppreference.com
<
cpp
|
container
|
map
C++
Language
Concepts
Utilities library
Strings library
Containers library
Algorithms library
Iterators library
Numerics library
Input/output library
Localizations library
Regular expressions library
(C++11)
Atomic operations library
(C++11)
Thread support library
(C++11)
Containers library
array
(C++11)
vector
deque
forward_list
(C++11)
list
set
multiset
map
multimap
unordered_set
(C++11)
unordered_multiset
(C++11)
unordered_map
(C++11)
unordered_multimap
(C++11)
stack
queue
priority_queue
std::map
Member functions
map::map
map::~map
map::operator=
map::get_allocator
Element access
map::at
map::operator[]
Iterators
map::begin
map::cbegin
(C++11)
map::end
map::cend
(C++11)
map::rbegin
map::crbegin
(C++11)
map::rend
map::crend
(C++11)
Capacity
map::empty
map::size
map::max_size
Modifiers
map::clear
map::insert
map::emplace
(C++11)
map::emplace_hint
(C++11)
map::erase
map::swap
Lookup
map::count
map::find
map::equal_range
map::lower_bound
map::upper_bound
Observers
map::key_comp
map::value_comp
allocator_type get_allocator
(
)
const
;
Returns the allocator associated with the container.
[
edit
]
Parameters
(none)
[
edit
]
Return value
The associated allocator.
[
edit
]
Complexity
Constant.