std::allocator_arg

Defined in header <memory>
constexpr std::allocator_arg_t allocator_arg = std::allocator_arg_t();
(since C++11)

std::allocator_arg is a constant of type std::allocator_arg_t used to disambiguate, at call site, the overloads of the constructors and member functions of allocator-aware objects, such as std::tuple, std::function, std::promise, and std::packaged_task.

See also

tag type used to select allocator-aware constructor overloads
(class)
checks if the specified type supports uses-allocator construction
(class template)
doc_CPP
2016-10-11 10:00:14
Comments
Leave a Comment

Please login to continue.