[#BloombergLP-bdlc-FlatHashSet-clear]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet]::clear
:relfileprefix: ../../../
:mrdocs:

Remove all elements from this set&period; Note that this set will be empty after calling this method, but allocated memory may be retained for future use&period; See the `capacity` method&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;flathashset&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
clear();
----


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