[#secure_allocator-allocate] = xref:secure_allocator.adoc[secure_allocator]::allocate :relfileprefix: ../ :mrdocs: Allocates locked memory for n objects from the locked pool. == Synopsis Declared in `<support/allocators/secure.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- T* allocate(std::size_t n); ---- == Return Value Pointer to locked storage for n objects of type T. == Parameters [cols="1,4"] |=== | Name| Description | *n* | Number of objects of type T to allocate. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#