find overloads

Synopses

Declared in <bslstl_multiset.h>

Return an iterator providing modifiable access to the first value_type object in this multiset equivalent to the specified key, if such an object exists, and the past‐the‐end (end) iterator otherwise.

iterator
find(key_type const& key);

Return an iterator providing non‐modifiable access to the first value_type object that is equivalent to the specified key in ordered sequence maintained by this multiset, if such an object exists, and the past‐the‐end (end) iterator otherwise.

const_iterator
find(key_type const& key) const;

Return an iterator providing modifiable access to the first value_type object in this multiset equivalent to the specified key, if such an object exists, and the past‐the‐end (end) iterator otherwise.

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

Return an iterator providing non‐modifiable access to the first value_type object that is equivalent to the specified key in ordered sequence maintained by this multiset, if such an object exists, and the past‐the‐end (end) iterator otherwise.

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

Created with MrDocs