[#bsl-allocator_traits-015-allocate-0e]
= xref:bsl.adoc[bsl]::xref:bsl/allocator_traits-015.adoc[allocator&lowbar;traits&lt;allocator&lt;bool&gt;&gt;]::allocate
:relfileprefix: ../../
:mrdocs:

== Synopsis

Declared in `&lt;bslma&lowbar;bslallocator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:bsl/allocator_traits-015/pointer.adoc[pointer]
allocate(
    xref:bsl/allocator_traits-015/allocator_type.adoc[allocator&lowbar;type]& m,
    xref:bsl/allocator_traits-015/size_type.adoc[size&lowbar;type] n);
----


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