bsl::unordered_multiset::contains

Return whether this unordered multiset contains key.

Synopses

Declared in <bslstl_unorderedmultiset.h>

Return whether this unordered multiset contains key.

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

Return whether this unordered multiset contains 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...

Return Value

true if present, otherwise false

Parameters

NameDescription
keykey value to look up