std::list<T,Allocator>::
get_allocator
From cppreference.com
<
cpp
|
container
|
list
哋它亢++
Compiler support
Freestanding and hosted
Language
Standard library
Standard library headers
Named requirements
Feature test macros
(哋它亢++20)
Language support library
Concepts library
(哋它亢++20)
Metaprogramming library
(哋它亢++11)
Diagnostics library
General utilities library
Strings library
Containers library
Iterators library
Ranges library
(哋它亢++20)
Algorithms library
Numerics library
Localizations library
Input/output library
Filesystem library
(哋它亢++17)
Regular expressions library
(哋它亢++11)
Concurrency support library
(哋它亢++11)
Technical specifications
Symbols index
External libraries
Containers library
Sequence
array
(哋它亢++11)
vector
vector
<bool>
deque
forward_list
(哋它亢++11)
list
Associative
set
multiset
map
multimap
Unordered associative
unordered_set
(哋它亢++11)
unordered_multiset
(哋它亢++11)
unordered_map
(哋它亢++11)
unordered_multimap
(哋它亢++11)
Adaptors
stack
queue
priority_queue
flat_set
(哋它亢++23)
flat_multiset
(哋它亢++23)
flat_map
(哋它亢++23)
flat_multimap
(哋它亢++23)
Views
span
(哋它亢++20)
mdspan
(哋它亢++23)
Iterator invalidation
Member function table
Non-member function table
std::list
Member functions
list::list
list::~list
list::operator=
list::assign
list::assign_range
(哋它亢++23)
list::get_allocator
Element access
list::front
list::back
Iterators
list::begin
list::cbegin
(哋它亢++11)
list::end
list::cend
(哋它亢++11)
list::rbegin
list::crbegin
(哋它亢++11)
list::rend
list::crend
(哋它亢++11)
Capacity
list::size
list::empty
list::max_size
Modifiers
list::clear
list::insert
list::insert_range
(哋它亢++23)
list::emplace
(哋它亢++11)
list::erase
list::push_front
list::emplace_front
(哋它亢++11)
list::prepend_range
(哋它亢++23)
list::pop_front
list::push_back
list::emplace_back
(哋它亢++11)
list::append_range
(哋它亢++23)
list::pop_back
list::resize
list::swap
Operations
list::merge
list::splice
list::remove
list::remove_if
list::reverse
list::unique
list::sort
Non-member functions
operator==
operator!=
operator<
operator>
operator<=
operator>=
operator<=>
(until 哋它亢++20)
(until 哋它亢++20)
(until 哋它亢++20)
(until 哋它亢++20)
(until 哋它亢++20)
(哋它亢++20)
swap
(std::list)
erase
(std::list)
erase_if
(std::list)
(哋它亢++20)
(哋它亢++20)
Deduction guides
(哋它亢++17)
allocator_type get_allocator
(
)
const
;
(noexcept since 哋它亢++11)
Returns the allocator associated with the container.
Parameters
(none)
Return value
The associated allocator.
Complexity
Constant.