std::list::
get_allocator
From cppreference.com
<
cpp
|
container
|
list
C++
Language
Standard Library Headers
Freestanding and hosted implementations
Named requirements
Language support library
Concepts library
(C++20)
Diagnostics library
Utilities library
Strings library
Containers library
Iterators library
Ranges library
(C++20)
Algorithms library
Numerics library
Input/output library
Localizations library
Regular expressions library
(C++11)
Atomic operations library
(C++11)
Thread support library
(C++11)
Filesystem library
(C++17)
Technical Specifications
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
span
(C++20)
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
Deduction guides
(C++17)
allocator_type get_allocator
(
)
const
;
Returns the allocator associated with the container.
Parameters
(none)
Return value
The associated allocator.
Complexity
Constant.