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

Name

Description

a

allocator whose maximum size is queried

Created with MrDocs