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),
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>
The indirectly_comparable concept.
The sentinel_for concept.
template(typename R1, typename R2, typename Comp=equal_to, typename Proj1=identity, typename Proj2=identity)(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...
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