contains overloads
Synopses
Declared in <bslstl_unorderedset.h>
Return whether this unordered set contains key.
bool
contains(key_type const& key) const;
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;
Return Value
-
trueifkeyis present, andfalseotherwise -
trueif present, otherwisefalse
Parameters
Name |
Description |
key |
key value to look up |
Created with MrDocs