find overloads

Synopses

Declared in <bslstl_unorderedmultiset.h>

Return an iterator to the first element equivalent to key.

Return a const iterator to the first element equivalent to key.

Return an iterator to the first element equivalent to key.

template<class LOOKUP_KEY>
iterator
find(LOOKUP_KEY const& key)
requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value
        && BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value;

Return a const iterator to the first element equivalent to key.

template<class LOOKUP_KEY>
const_iterator
find(LOOKUP_KEY const& key) const
requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value
        && BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value;

Return Value

  • iterator to the element, or end() if not found

  • const iterator to the element, or end() if not found

Parameters

Name

Description

key

key value to look up

Created with MrDocs