tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
upper_bound.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

template<typename ForwardIt, typename T>
constexpr auto upper_bound (ForwardIt first, ForwardIt last, T const &value) -> ForwardIt
 Returns an iterator pointing to the first element in the range [first, last) that is greater than value, or last if no such element is found.
 
template<typename ForwardIt, typename T, typename Compare>
constexpr auto upper_bound (ForwardIt first, ForwardIt last, T const &value, Compare comp) -> ForwardIt
 Returns an iterator pointing to the first element in the range [first, last) that is greater than value, or last if no such element is found.