[ Web Proxy ]
URL:
Viewing: https://en.cppreference.com/cpp/memory/indirect/get_allocator [Back]  [Original]

std::indirect<T, Allocator>::get_allocator - cppreference.com
cppreference.com
Namespaces
Variants

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

From cppreference.com
 
 
Memory management library
Allocators
Memory resources
Uninitialized storage (until C++20*)
Garbage collector support (until C++23)
 
 
constexpr allocator_type get_allocator() const noexcept;
(since C++26)

Obtains the associated allocator.

Return value

alloc

Example


Web Proxy Viewer  |  New URL  |  Original Page