5 #ifndef VCCC_ALGORITHM_RANGES_MISMATCH_HPP
6 #define VCCC_ALGORITHM_RANGES_MISMATCH_HPP
32 template<
typename I1,
typename I2>
37 struct mismatch_niebloid {
39 typename I1,
typename S1,
40 typename I2,
typename S2,
50 operator()(I1 first1, S1 last1, I2 first2, S2 last2, Pred pred = {}, Proj1 proj1 = {}, Proj2 proj2 = {})
const {
51 for (; first1 != last1 && first2 != last2; ++first1, (void)++first2) {
56 return {first1, first2};
59 template<
typename R1,
typename R2,
typename Pred = equal_to,
typename Proj1 =
identity,
typename Proj2 =
identity>
61 operator()(R1&& r1, R2&& r2, Pred pred = {}, Proj1 proj1 = {}, Proj2 proj2 = {})
const {
64 std::ref(pred), std::ref(proj1), std::ref(proj2));
constexpr VCCC_INLINE_OR_STATIC detail::mismatch_niebloid mismatch
Definition: mismatch.hpp:70
constexpr invoke_result_t< F, Args... > invoke(F &&f, Args &&... args) noexcept(is_nothrow_invocable< F, Args... >::value)
Definition: invoke.hpp:38
constexpr VCCC_INLINE_OR_STATIC detail::begin_niebloid begin
returns an iterator to the beginning of a range
Definition: begin.hpp:116
constexpr VCCC_INLINE_OR_STATIC detail::end_niebloid end
returns a sentinel indicating the end of a range
Definition: end.hpp:120
typename borrowed_iterator< R >::type borrowed_iterator_t
Definition: borrowed_iterator_t.hpp:36
#define VCCC_INLINE_OR_STATIC
Definition: inline_or_static.hpp:9
Definition: directory.h:12
constexpr VCCC_INLINE_OR_STATIC detail::element_niebloid< 1 > value
Definition: key_value.hpp:35
Definition: conjunction.hpp:22
function object that returns its argument unchanged
Definition: identity.hpp:25
specifies that the values referenced by two indirectly_readable types can be compared
Definition: indirectly_comparable.hpp:49
Definition: equal_to.hpp:20
Definition: in_in_result.hpp:22
Definition: sentinel_for.hpp:24