std::set::
get_allocator
From cppreference.com
<
cpp
lrm; |
container
lrm; |
set
C++
Language
Headers
Freestanding and hosted implementations
Named requirements
Language support library
Concepts library
(C++20)
Diagnostics library
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)
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::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
set::extract
(C++17)
set::merge
(C++17)
Lookup
set::count
set::find
set::contains
(C++20)
set::equal_range
set::lower_bound
set::upper_bound
Observers
set::key_comp
set::value_comp
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.