[#PoolAllocator-0e-allocate]
= xref:PoolAllocator-0e.adoc[PoolAllocator]::allocate
:relfileprefix: ../
:mrdocs:

Forwards each call to the resource&period;

== Synopsis

Declared in `&lt;support&sol;allocators&sol;pool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
T*
allocate(size&lowbar;t n);
----

== Return Value

Pointer to storage for n objects of type T&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *n*
| Number of objects of type T to allocate&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
