[#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. Note that this set will be empty after calling this method, but allocated memory may be retained for future use. See the `capacity` method. == Synopsis Declared in `<bdlc_flathashset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void clear(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#