[#BloombergLP-bslma-Allocator-2destructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/Allocator.adoc[Allocator]::&#126;Allocator
:relfileprefix: ../../../
:mrdocs:

Destroy this allocator&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
&#126;Allocator() override;
----

== Description

Destroy this allocator&period; Note that the behavior of destroying an allocator while memory is allocated from it is not specified&semi; unless you _know_ that it is valid to do so, don&apos;t!


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