contains overloads
Synopses
Declared in <bslstl_unorderedmap.h>
Return whether this unordered map contains the specified key.
bool
contains(key_type const& key) const;
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;
Return Value
true if present, otherwise false
Parameters
Name |
Description |
key |
key to look up |
Created with MrDocs