Header file range/v3/view/adjacent_remove_if.hpp

#include <meta/meta.hpp>

#include <range/v3/range_fwd.hpp>

#include <range/v3/begin_end.hpp>

#include <range/v3/view_adaptor.hpp>

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

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

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

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

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

#include <range/v3/view/view.hpp>

namespace ranges
{
    inline namespace v3
    {
        template <typename Rng, typename Pred>
        struct adjacent_remove_if_view;
        
        namespace view
        {
            struct adjacent_remove_if_fn
            {
                template <typename Rng, typename Pred>
                using Concept = meta::and_<ForwardRange<Rng>, IndirectCallablePredicate<Pred, range_iterator_t<Rng>, range_iterator_t<Rng>>>;
                
                template <typename Rng, typename Pred, int _concept_requires_142 = 42, typename std::enable_if<(_concept_requires_142==43)||(Concept<Rng, Pred>()), int>::type=0>
                adjacent_remove_if_view<all_t<Rng>, Pred> operator()(Rng&& rng, Pred pred) const;
                
                template <typename Rng, typename Pred, int _concept_requires_149 = 42, typename std::enable_if<(_concept_requires_149==43)||(!Concept<Rng, Pred>()), int>::type=0>
                void operator()(Rng&&, Pred) const;
            };
            
            inline namespace 
            {
                constexpr auto& adjacent_remove_if = static_const<view<adjacent_remove_if_fn>>::value;
            }
        }
    }
}

Class template ranges::v3::adjacent_remove_if_view<Rng, Pred>

template <typename Rng, typename Pred>
struct adjacent_remove_if_view
: view_adaptor<adjacent_remove_if_view<Rng, Pred>, Rng, is_finite<Rng>::value ? finite : range_cardinality<Rng>::value>
{
    adjacent_remove_if_view() = default;
    
    adjacent_remove_if_view(adjacent_remove_if_view const& that);
    
    adjacent_remove_if_view(Rng rng, Pred pred);
    
    adjacent_remove_if_view& operator=(adjacent_remove_if_view&& that);
    
    adjacent_remove_if_view& operator=(adjacent_remove_if_view const& that);
};

@{