Return the maximum number of elements of (template parameter) TYPE that can be allocated using this allocator. Note that there is no guarantee that attempts at allocating fewer elements than the value returned by max_size will not throw.
TYPE
max_size
Declared in <bslma_bslallocator.h>
<bslma_bslallocator.h>
constexpr allocator<TYPE>::size_type max_size() const;