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,
74 projected<iterator_t<Rng0>, P0>,
75 projected<iterator_t<Rng1>, P1>>)
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>
The indirect_strict_weak_order concept.
The sentinel_for concept.
typename Fn::template invoke< Args... > invoke
Evaluate the invocable Fn with the arguments Args.
Definition meta.hpp:541
Definition adjacent_find.hpp:67
Definition identity.hpp:25
Definition comparisons.hpp:50