Return the maximum number of elements allocatable by m.

Synopsis

Declared in <bslma_bslallocator.h>

constexpr
static
size_type
max_size(allocator_type const& m);

Description

Return the maximum number of elements that the specified m allocator can allocate in a single call to allocate.

Return Value

maximum number of elements allocatable by m

Parameters

Name

Description

m

allocator whose maximum size is returned

Created with MrDocs