Namespaces
Variants
Views
Actions

std::allocator_arg_t

From cppreference.com
< cpp‎ | memory
Revision as of 17:51, 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 >
struct allocator_arg_t {};
</td>

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

std::allocator_arg_t is an empty class type used to disambiguate the overloads of constructors and member functions of allocator-aware objects, including std::tuple, std::function, std::promise, and std::packaged_task.

See also

Template:cpp/memory/dcl list allocator argTemplate:cpp/memory/dcl list uses allocator