upper_bound overloads
Declared in <bslstl_map.h>
Return an iterator to the first element with key greater than key.
iterator
upper_bound(key_type const& key);
» more...
Return a const iterator to the first element with key greater than key.
const_iterator
upper_bound(key_type const& key) const;
» more...
Return an iterator to the first element with key greater than key.
template<class LOOKUP_KEY>
iterator
upper_bound(LOOKUP_KEY const& key)
requires BloombergLP::bslmf::IsTransparentPredicate<COMPARATOR,
LOOKUP_KEY>::value;
» more...
Return a const iterator to the first element with key greater than key.
template<class LOOKUP_KEY>
const_iterator
upper_bound(LOOKUP_KEY const& key) const
requires BloombergLP::bslmf::IsTransparentPredicate<COMPARATOR,
LOOKUP_KEY>::value;
» more...
end()end()| Name | Description |
|---|---|
| key | key value to look up |