Returns an iterator to the first element ordered after key.
Declared in <folly/container/sorted_vector_types.h>
Returns an iterator to the first element ordered after key.
iterator
upper_bound(key_type const& key);
» more...
Returns an iterator to the first element ordered after key.
const_iterator
upper_bound(key_type const& key) const;
» more...
Returns an iterator to the first element ordered after key.
template<typename K>
if_is_transparent<K, iterator>
upper_bound(K const& key);
» more...
Returns an iterator to the first element ordered after key.
template<typename K>
if_is_transparent<K, const_iterator>
upper_bound(K const& key) const;
» more...
An iterator to the first element ordered after key.
| Name | Description |
|---|---|
| key | The key to search for. |