[#bsl-allocator_traits-05e-deallocate]
= xref:bsl.adoc[bsl]::xref:bsl/allocator_traits-05e.adoc[allocator&lowbar;traits&lt;allocator&lt;TYPE&gt;&gt;]::deallocate
:relfileprefix: ../../
:mrdocs:

Deallocate the memory at `p` previously allocated from `m`&period;

== Synopsis

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

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *m*
| allocator that performs the deallocation
| *p*
| address of memory previously returned by `allocate`
| *n*
| number of objects that were allocated
|===


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