contains overloads
Declared in <bslstl_unorderedset.h>
Return whether this unordered set contains key.
bool
contains(key_type const& key) const;
» more...
Return true if this unordered set contains an element whose key is equivalent to the specified key.
template<class LOOKUP_KEY>
bool
contains(LOOKUP_KEY const& key) const
requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value &&
BloombergLP::bslmf::IsTransparentPredicate<EQUAL,
LOOKUP_KEY>::value;
» more...
true if key is present, and false otherwisetrue if present, otherwise false| Name | Description |
|---|---|
| key | key value to look up |