Return the maximum number of TYPE elements this allocator can allocate.

Synopsis

Declared in <bsltf_stdtestallocator.h>

Description

Return the maximum number of elements of type TYPE that can be allocated using this allocator in a single call to the allocate method. Note that there is no guarantee that attempts at allocating less elements than the value returned by max_size will not throw.

Return Value

the maximum number of TYPE elements allocatable in one call

Created with MrDocs