contains overloads
Declared in <bslstl_unorderedmap.h>
Return whether this unordered map contains the specified key.
bool
contains(key_type const& key) const;
» more...
Return whether this unordered map contains an equivalent 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 present, otherwise false
| Name | Description |
|---|---|
| key | key to look up |