C++ Memory Library - allocator_arg



Description

It is used as used as first argument to the constructor of certain classes to specify that the next argument is an allocator object.

Declaration

Following is the declaration for std::allocator function.

constexpr allocator_arg_t allocator_arg = allocator_arg_t();

C++11

constexpr allocator_arg_t allocator_arg = allocator_arg_t();
memory.htm
Advertisements