Namespaces
Variants
Views
Actions

std::allocator_arg

From cppreference.com
< cpp | memory
Revision as of 17:53, 2 November 2012 by P12bot (Talk | contribs)
 
 
 
 
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

Template:cpp/memory/dcl list allocator arg tTemplate:cpp/memory/dcl list uses allocator