find overloads

Synopses

Declared in <bslstl_multiset.h>

Return an iterator to the first element equivalent to key.

iterator
find(key_type const& key);

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

const_iterator
find(key_type const& key) const;

Return an iterator to the first element equivalent to key.

template<class LOOKUP_KEY>
iterator
find(LOOKUP_KEY const& key)
requires BloombergLP::bslmf::IsTransparentPredicate<COMPARATOR,
                                                   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<COMPARATOR,
                                                   LOOKUP_KEY>::value;

Return Value

  • modifiable iterator to a matching element, or end()

  • const iterator to a matching element, or end()

Parameters

Name

Description

key

key value to look up

Created with MrDocs