Return whether this map contains an element with key.
Declared in <bdlc_flathashmap.h>
Return whether this map contains an element with key.
bool
contains(KEY const& key) const;
» more...
Return whether this map contains an element with 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 an element with key exists, and false otherwise
| Name | Description |
|---|---|
| key | key to look up |