lower_bound overloads

Synopses

Declared in <bslstl_set.h>

Return an iterator to the first element not less than key.

Return a const iterator to the first element not less than key.

const_iterator
lower_bound(key_type const& key) const;

Return an iterator to the first element not less than key.

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

Return a const iterator to the first element not less than key.

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

Return Value

  • iterator to the lower bound, or end()

  • const iterator to the lower bound, or end()

Parameters

Name

Description

key

key value to look up

Created with MrDocs