13 #ifndef RANGES_V3_ALGORITHM_LEXICOGRAPHICAL_COMPARE_HPP
14 #define RANGES_V3_ALGORITHM_LEXICOGRAPHICAL_COMPARE_HPP
26 #include <range/v3/utility/static_const.hpp>
28 #include <range/v3/detail/prologue.hpp>
34 RANGES_FUNC_BEGIN(lexicographical_compare)
47 constexpr
bool RANGES_FUNC(lexicographical_compare)(I0 begin0,
55 for(; begin1 != end1; ++begin0, ++begin1)
67 template(
typename Rng0,
72 requires input_range<Rng0> AND input_range<Rng1> AND
76 constexpr
bool RANGES_FUNC(lexicographical_compare)(Rng0 && rng0,
82 return (*
this)(begin(rng0),
91 RANGES_FUNC_END(lexicographical_compare)
95 using ranges::lexicographical_compare;
100 #include <range/v3/detail/epilogue.hpp>
template(typename Rng0, typename Rng1, typename C=less, typename P0=identity, typename P1=identity)(requires input_range< Rng0 > AND input_range< Rng1 > AND indirect_strict_weak_order< C
This is an overloaded member function, provided for convenience. It differs from the above function o...
CPP_concept sentinel_for
\concept sentinel_for
Definition: concepts.hpp:306
CPP_concept input_iterator
\concept input_iterator
Definition: concepts.hpp:362
CPP_concept indirect_strict_weak_order
\concept indirect_strict_weak_order
Definition: concepts.hpp:689
decltype(begin(declval(Rng &))) iterator_t
Definition: access.hpp:698
typename Fn::template invoke< Args... > invoke
Evaluate the invocable Fn with the arguments Args.
Definition: meta.hpp:541
bool_<(T::type::value< U::type::value)> less
A Boolean integral constant wrapper around true if T::type::value is less than U::type::value; false,...
Definition: meta.hpp:255
Definition: identity.hpp:25
Definition: comparisons.hpp:50