Namespaces
Variants
Views
Actions

std::scoped_allocator_adaptor::max_size

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

 
 
 
 

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

<td>
Defined in header <scoped_allocator>
</td>

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

<td >
size_type max_size() const
</td>

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

Reports the maximum allocation size supported by the outer allocator, by calling std::allocator_traits<OuterAlloc>::max_size(outer_allocator())

Parameters

(none)

Return value

The maximum allocation size for OuterAlloc.

See also

Template:cpp/memory/allocator/dcl list max sizeTemplate:cpp/memory/allocator traits/dcl list max size