allocate overloads

Synopses

Declared in <bslma_bslallocator.h>

Allocate storage for n objects using the specified m allocator.

Allocate storage for n objects, optionally using hint.

Return Value

pointer to the allocated storage

Parameters

Name

Description

m

allocator that performs the allocation

n

number of objects to allocate storage for

hint

optional locality hint (ignored)

Created with MrDocs