[#BloombergLP-bslstl-HashTable-06-hasSameValue] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/HashTable-06.adoc[HashTable]::hasSameValue :relfileprefix: ../../../ :mrdocs: Return `true` if the specified `other` has the same value as this object, and `false` otherwise. Two `HashTable` objects have the same value if they have the same number of elements, and for every subset of elements in this object having keys that compare equal (according to that hash table's `comparator`), a corresponding subset of elements exists in the `other` object, having the same number of elements, where, for some permutation of the subset in this object, every element in that subset compares equal (using `operator==`) to the corresponding element in the `other` subset. The behavior is undefined unless both the `hasher` and `comparator` of this object and the `other` return the same value for every valid input. Note that this method requires that the `ValueType` of the parameterized `KEY_CONFIG` be "equality‐comparable" (see {Requirements on `KEY_CONFIG`}). == Synopsis Declared in `<bslstl_hashtable.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool hasSameValue(xref:BloombergLP/bslstl/HashTable-06.adoc[HashTable] const& other) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#