cppreference.com
Search
Log in / create account
Namespaces
Page
Discussion
Variants
Views
View
Edit
History
Actions
std::set::
get_allocator
From cppreference.com
<
cpp
|
container
|
set
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::set
Member functions
set::set
set::~set
set::operator=
set::get_allocator
Iterators
set::begin
set::cbegin
(C++11)
set::end
set::cend
(C++11)
set::rbegin
set::crbegin
(C++11)
set::rend
set::crend
(C++11)
Capacity
set::empty
set::size
set::max_size
Modifiers
set::clear
set::insert
set::emplace
(C++11)
set::emplace_hint
(C++11)
set::erase
set::swap
Lookup
set::count
set::find
set::equal_range
set::lower_bound
set::upper_bound
Observers
set::key_comp
set::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.