bsl::map::contains

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

Synopses

Declared in <bslstl_map.h>

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

bool
contains(key_type const& key) const;
» more...

Return true if this 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<COMPARATOR,
                                                   LOOKUP_KEY>::value;
» more...