PoolAllocator::allocate

Forwards each call to the resource.

Synopsis

Declared in <support/allocators/pool.h>

T*
allocate(size_t n);

Return Value

Pointer to storage for n objects of type T.

Parameters

NameDescription
nNumber of objects of type T to allocate.