Return the maximum number of TYPE elements this allocator can allocate.
Synopsis
Declared in <bslma_stdtestallocator.h>
StdTestAllocator<TYPE>::size_type
max_size() const;
Description
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.
Return Value
maximum number of elements allocatable by this allocator
Created with MrDocs