Return true if this unordered map contains an element whose key is equivalent to the specified key.

Synopses

Declared in <bslstl_unorderedmap.h>

Return true if this unordered map contains an element whose key is equivalent to the specified key.

bool
contains(key_type const& key) const;

Return true if this unordered map 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;

Created with MrDocs