bsl::multimap::find

find overloads

Synopses

Declared in <bslstl_multimap.h>

Return an iterator to the first element with key key, or end().

iterator
find(key_type const& key);
» more...

Return a const iterator to the first element with key key, or end().

const_iterator
find(key_type const& key) const;
» more...

Return an iterator to the first element with key key, or end().

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

Return a const iterator to the first element with key key, or end().

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

Return Value

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

Parameters

NameDescription
keykey value to look up