Przejdź do głównej zawartości

std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::max_size

Since C++11
size_type max_size() const;

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.

std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::max_size

Since C++11
size_type max_size() const;

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.