[#BloombergLP-bdlc-FlatHashMap-clear] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap]::clear :relfileprefix: ../../../ :mrdocs: Remove all elements from this map. Note that this map will be empty after calling this method, but allocated memory may be retained for future use. See the `capacity` method. == Synopsis Declared in `<bdlc_flathashmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void clear(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#