Header file range/v3/algorithm/mismatch.hpp

#include <meta/meta.hpp>

#include <range/v3/range_fwd.hpp>

#include <range/v3/begin_end.hpp>

#include <range/v3/range_concepts.hpp>

#include <range/v3/range_traits.hpp>

#include <range/v3/utility/iterator_concepts.hpp>

#include <range/v3/utility/iterator_traits.hpp>

#include <range/v3/utility/functional.hpp>

#include <range/v3/utility/static_const.hpp>

#include <range/v3/utility/tagged_pair.hpp>

#include <range/v3/algorithm/tagspec.hpp>

namespace ranges
{
    inline namespace v3
    {
        template <typename I1, typename I2, typename C = equal_to, typename P1 = ident, typename P2 = ident>
        using Mismatchable = meta::strict_and<InputIterator<I1>, InputIterator<I2>, IndirectCallablePredicate<C, projected<I1, P1>, projected<I2, P2>>>;
        
        struct mismatch_fn;
        
        inline namespace 
        {
            constexpr auto& mismatch = static_const<with_braced_init_args<mismatch_fn>>::value;
        }
    }
}

Class ranges::v3::mismatch_fn

struct mismatch_fn
{
    template <typename I1, typename S1, typename I2, typename C = equal_to, typename P1 = ident, typename P2 = ident, int _concept_requires_50 = 42, typename std::enable_if<(_concept_requires_50==43)||(Mismatchable<I1, I2, C, P1, P2>()&&Sentinel<S1, I1>()), int>::type=0>
    tagged_pair<tag::in1(I1), tag::in2(I2)> operator()(I1, I2, I1 begin1, S1 end1, I2 begin2, C pred_ = C{}, P1 proj1_ = P1{}, P2 proj2_ = P2{}) const;
    
    template <typename I1, typename S1, typename I2, typename S2, typename C = equal_to, typename P1 = ident, typename P2 = ident, int _concept_requires_66 = 42, typename std::enable_if<(_concept_requires_66==43)||(Mismatchable<I1, I2, C, P1, P2>()&&Sentinel<S1, I1>()&&Sentinel<S2, I2>()), int>::type=0>
    tagged_pair<tag::in1(I1), tag::in2(I2)> operator()(I1, I2, I1 begin1, S1 end1, I2 begin2, S2 end2, C pred_ = C{}, P1 proj1_ = P1{}, P2 proj2_ = P2{}) const;
    
    template <typename Rng1, typename I2Ref, typename C = equal_to, typename P1 = ident, typename P2 = ident, typename I1 = range_iterator_t<Rng1>, typename I2 = uncvref_t<I2Ref>, int _concept_requires_85 = 42, typename std::enable_if<(_concept_requires_85==43)||(InputRange<Rng1>()&&Iterator<I2>()&&Mismatchable<I1, I2, C, P1, P2>()), int>::type=0>
    tagged_pair<tag::in1(range_safe_iterator_t<Rng1>), tag::in2(I2)> operator()(range_safe_iterator_t<Rng1>, I2, Rng1&& rng1, I2Ref&& begin2, C pred = C{}, P1 proj1 = P1{}, P2 proj2 = P2{}) const;
    
    template <typename Rng1, typename Rng2, typename C = equal_to, typename P1 = ident, typename P2 = ident, typename I1 = range_iterator_t<Rng1>, typename I2 = range_iterator_t<Rng2>, int _concept_requires_99 = 42, typename std::enable_if<(_concept_requires_99==43)||(InputRange<Rng1>()&&InputRange<Rng2>()&&Mismatchable<I1, I2, C, P1, P2>()), int>::type=0>
    tagged_pair<tag::in1(range_safe_iterator_t<Rng1>), tag::in2(range_safe_iterator_t<Rng2>)> operator()(range_safe_iterator_t<Rng1>, range_safe_iterator_t<Rng2>, Rng1&& rng1, Rng2&& rng2, C pred = C{}, P1 proj1 = P1{}, P2 proj2 = P2{}) const;
};

@{


Variable ranges::v3::mismatch

constexpr auto& mismatch = static_const<with_braced_init_args<mismatch_fn>>::value;

mismatch_fn