Namespaces
Variants
Views
Actions

std::allocator_arg

From cppreference.com
< cpp‎ | memory
Revision as of 16:53, 2 November 2012 by P12bot (Talk | contribs)

 
 
 
 

Template:ddcl list begin <tr class="t-dsc-header">

<td>
Defined in header <memory>
</td>

<td></td> <td></td> <tr class="t-dcl ">

<td >
constexpr std::allocator_arg_t allocator_arg = std::allocator_arg_t();
</td>

<td class="t-dcl-nopad"> </td> <td > (since C++11) </td> </tr> Template:ddcl list end

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