Namespaces
Variants
Views
Actions

std::allocator_arg, std::allocator_arg_t

From cppreference.com
< cpp‎ | memory
 
 
Memory management library
(exposition only*)
Allocators
Uninitialized memory algorithms
Constrained uninitialized memory algorithms
Memory resources
Uninitialized storage (until C++20)
(until C++20*)
(until C++20*)

Garbage collector support (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)
(C++11)(until C++23)
 
Defined in header <memory>
struct allocator_arg_t { explicit allocator_arg_t() = default; };
(1) (since C++11)
constexpr std::allocator_arg_t allocator_arg {};
(2) (since C++11)
(inline since C++17)
1) std::allocator_arg_t is an empty class type used to disambiguate the overloads of constructors and member functions of allocator-aware objects, including