[#bsl-list-054-2destructor]
= xref:bsl.adoc[bsl]::xref:bsl/list-054.adoc[list]::&#126;list
:relfileprefix: ../../
:mrdocs:

Destroy this list by calling the destructor for each element and deallocating all allocated storage&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;list&period;h&gt;`

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


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