[#BloombergLP-bdlc-FlatHashSet-size] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet]::size :relfileprefix: ../../../ :mrdocs: Return the number of elements in this set. == Synopsis Declared in `<bdlc_flathashset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::size_t size() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#