[#BloombergLP-bdlc-operator_eq-042] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::operator== :relfileprefix: ../../ :mrdocs: Return whether two sets have the same value. == Synopsis Declared in `<bdlc_flathashset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class KEY, class HASH, class EQUAL> bool operator==( xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet<KEY, HASH, EQUAL>] const& a, xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet<KEY, HASH, EQUAL>] const& b); ---- == Description Return `true` if the specified `a` and `b` objects have the same value, and `false` otherwise. Two `FlatHashSet` objects have the same value if their sizes are the same and each element contained in one is equal to an element of the other. The hash and equality functors are not involved in the comparison. == Return Value `true` if `a` and `b` have the same value, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *a* | first set to compare | *b* | second set to compare |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#