bsl::allocator_traits<std::allocator<ALLOCATOR_TYPE>>::max_size

Return the maximum number of objects allocate can return.

Synopsis

Declared in <bslma_allocatortraits.h>

using Base::max_size;

Description

Return the largest number of value_type objects that could reasonably be returned by a single invocation of allocate for a.

Parameters

NameDescription
aallocator whose maximum size is queried