std::scoped_allocator_adaptor::max_size

From cppreference.com
 
 
Dynamic memory management
Uninitialized storage
(C++17)
(deprecated since c++17)
(deprecated since c++17)
(deprecated since c++17)
Garbage collection support
Miscellaneous
(C++11)
(C++11)
C Library
Low level memory management
 
 
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())

Parameters

(none)

Return value

The maximum allocation size for OuterAlloc.

See also

(deprecated in C++17)
returns the largest supported allocation size
(public member function of std::allocator)
[static]
returns the maximum object size supported by the allocator
(public static member function of std::allocator_traits)