Allocates locked memory for n objects from the locked pool.

Synopsis

Declared in <support/allocators/secure.h>

T*
allocate(std::size_t n);

Return Value

Pointer to locked storage for n objects of type T.

Parameters

Name

Description

n

Number of objects of type T to allocate.

Created with MrDocs