Return whether this map contains an element equivalent to key.
Synopses
Declared in <bslstl_map.h>
Return whether this map contains an element equivalent to key.
bool
contains(key_type const& key) const;
Return whether this map contains an element equivalent to key.
template<class LOOKUP_KEY>
bool
contains(LOOKUP_KEY const& key) const
requires BloombergLP::bslmf::IsTransparentPredicate<COMPARATOR,
LOOKUP_KEY>::value;
Return Value
true if an equivalent key is present
Parameters
Name |
Description |
key |
key value to look up |
Created with MrDocs