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;

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;

Return Value

true if present, otherwise false

Parameters

Name

Description

key

key value to look up

Created with MrDocs