cppreference.com
Search
Log in / create account
Namespaces
Page
Discussion
Variants
Views
View
Edit
History
Actions
std::unordered_map::
get_allocator
From cppreference.com
<
cpp
|
container
|
unordered 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::unordered_map
Member functions
unordered_map::unordered_map
unordered_map::~unordered_map
unordered_map::operator=
unordered_map::get_allocator
Iterators
unordered_map::begin
unordered_map::cbegin
unordered_map::end
unordered_map::cend
Capacity
unordered_map::erase
unordered_map::size
unordered_map::max_size
Modifiers
unordered_map::clear
unordered_map::insert
unordered_map::emplace
unordered_map::emplace_hint
unordered_map::erase
unordered_map::swap
Lookup
unordered_map::count
unordered_map::find
unordered_map::equal_range
Bucket interface
unordered_map::begin(int)
unordered_map::end(int)
unordered_map::bucket_count
unordered_map::max_bucket_count
unordered_map::bucket_size
unordered_map::bucket
Hash policy
unordered_map::load_factor
unordered_map::max_load_factor
unordered_map::rehash
unordered_map::reserve
Observers
unordered_map::hash_function
unordered_map::key_eq
allocator_type get_allocator
(
)
const
;
(since C++11)
Returns the allocator associated with the container.
[
edit
]
Parameters
(none)
[
edit
]
Return value
The associated allocator.
[
edit
]
Complexity
Constant.