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

Remove all entries from this table&period; Note that this table 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;flathashtable&period;h&gt;`

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


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