Namespaces
Variants
Views
Actions

std::allocator::allocator

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

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

<td >
allocator();
</td>

<td > (1) </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl ">

<td >
allocator( const allocator& other );
</td>

<td > (2) </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl ">

<td >
template< class U >
allocator( const allocator<U>& other );
</td>

<td > (3) </td> <td class="t-dcl-nopad"> </td> </tr> Template:ddcl list end

Constructs the default allocator. Since the default allocator is stateless, the constructors have no visible effect.

Parameters

other - another allocator to construct with