Namespaces
Variants
Views
Actions

std::scoped_allocator_adaptor::max_size

From cppreference.com
< cpp‎ | memory‎ | scoped allocator adaptor
Revision as of 16:40, 1 July 2013 by P12bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 
 
 
 
Defined in header <scoped_allocator>
size_type max_size() const
(since C++11)

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

[edit] Parameters

(none)

[edit] Return value

The maximum allocation size for OuterAlloc.

[edit] See also

returns the largest supported allocation size
(public member function of std::allocator) [edit]
[static]
returns the maximum object size supported by the allocator
(public static member function of std::allocator_traits) [edit]