11 #ifndef RANGES_V3_ALGORITHM_STARTS_WITH_HPP
12 #define RANGES_V3_ALGORITHM_STARTS_WITH_HPP
27 #include <range/v3/utility/static_const.hpp>
29 #include <range/v3/detail/prologue.hpp>
42 RANGES_FUNC_BEGIN(starts_with)
55 constexpr
bool RANGES_FUNC(starts_with)(I1 first1,
63 return mismatch(std::move(first1),
79 requires input_range<R1> AND input_range<R2> AND
81 constexpr
bool RANGES_FUNC(starts_with)(
82 R1 && r1, R2 && r2, Comp comp = {}, Proj1 proj1 = {}, Proj2 proj2 = {})
94 RANGES_FUNC_END(starts_with)
98 #include <range/v3/detail/epilogue.hpp>
template(typename R1, typename R2, typename Comp=equal_to, typename Proj1=identity, typename Proj2=identity)(requires input_range< R1 > AND input_range< R2 > AND indirectly_comparable< iterator_t< R1 >
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 indirectly_comparable
\concept indirectly_comparable
Definition: concepts.hpp:832
CPP_concept input_iterator
\concept input_iterator
Definition: concepts.hpp:362
decltype(begin(declval(Rng &))) iterator_t
Definition: access.hpp:698
bool_< T::type::value==U::type::value > equal_to
A Boolean integral constant wrapper around the result of comparing T::type::value and U::type::value ...
Definition: meta.hpp:237
Definition: comparisons.hpp:28
Definition: identity.hpp:25