BloombergLP::bslma::StdTestAllocator::max_size

Return the maximum number of elements of (template parameter) TYPE that can be allocated using this test allocator. Note that there is no guarantee that attempts at allocating fewer elements than the value returned by max_size will not throw.

Synopsis

Declared in <bslma_stdtestallocator.h>

StdTestAllocator<TYPE>::size_type
max_size() const;