Return basicAllocator.allocate(n).

Synopsis

Declared in <bslma_allocatortraits.h>

static
pointer
allocate(
    ALLOCATOR_TYPE& basicAllocator,
    size_type n);

Return Value

pointer to the allocated storage

Parameters

Name

Description

basicAllocator

allocator that performs the allocation

n

number of objects to allocate storage for

Created with MrDocs