cppreference.com
Search
Log in / create account
Namespaces
Page
Discussion
Variants
Views
View
Edit
History
Actions
std::list::
get_allocator
From cppreference.com
<
cpp
|
container
|
list
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::list
Member functions
list::list
list::~list
list::operator=
list::assign
list::get_allocator
Element access
list::front
list::back
Iterators
list::begin
list::cbegin
(C++11)
list::end
list::cend
(C++11)
list::rbegin
list::crbegin
(C++11)
list::rend
list::crend
(C++11)
Capacity
list::empty
list::size
list::max_size
Modifiers
list::clear
list::insert
list::emplace
(C++11)
list::erase
list::push_front
list::emplace_front
(C++11)
list::pop_front
list::push_back
list::emplace_back
(C++11)
list::pop_back
list::resize
list::swap
Operations
list::merge
list::splice
list::remove
list::remove_if
list::reverse
list::unique
list::sort
allocator_type get_allocator
(
)
const
;
Returns the allocator associated with the container.
[
edit
]
Parameters
(none)
[
edit
]
Return value
The associated allocator.
[
edit
]
Complexity
Constant.