Header file range/v3/view/remove_if.hpp

#include <meta/meta.hpp>

#include <range/v3/range_fwd.hpp>

#include <range/v3/begin_end.hpp>

#include <range/v3/range_traits.hpp>

#include <range/v3/view_adaptor.hpp>

#include <range/v3/range_concepts.hpp>

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

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

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

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

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

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

namespace ranges
{
    inline namespace v3
    {
        template <typename Rng, typename Pred>
        struct remove_if_view;
        
        namespace view
        {
            struct remove_if_fn
            {
                template <typename Rng, typename Pred>
                using Concept = meta::and_<InputRange<Rng>, IndirectCallablePredicate<Pred, range_iterator_t<Rng>>>;
                
                template <typename Rng, typename Pred, int _concept_requires_152 = 42, typename std::enable_if<(_concept_requires_152==43)||(Concept<Rng, Pred>()), int>::type=0>
                remove_if_view<all_t<Rng>, Pred> operator()(Rng&& rng, Pred pred) const;
                
                template <typename Rng, typename Pred, int _concept_requires_160 = 42, typename std::enable_if<(_concept_requires_160==43)||(!Concept<Rng, Pred>()), int>::type=0>
                void operator()(Rng&&, Pred) const;
            };
            
            inline namespace 
            {
                constexpr auto& remove_if = static_const<view<remove_if_fn>>::value;
            }
        }
    }
}

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

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

@{