Namespaces
Variants
Actions

std::indirect<T, Allocator>::get_allocator

From cppreference.com
< cpp‎ | memory‎ | indirect
 
 
Memory management library
(exposition only*)
Uninitialized storage (until C++20)
(until C++20*)
(until C++20*)

(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)
 
 
constexpr allocator_type get_allocator() const noexcept;
(since C++26)

Obtains the associated allocator.

[edit] Return value

alloc

[edit] Example

This section is incomplete
Reason: no example
Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/memory/indirect/get_allocator&oldid=182550"

AltStyle によって変換されたページ (->オリジナル) /