Header file range/v3/action/remove_if.hpp

#include <range/v3/range_fwd.hpp>

#include <range/v3/range_traits.hpp>

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

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

#include <range/v3/action/erase.hpp>

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

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

namespace ranges
{
    inline namespace v3
    {
        namespace action
        {
            struct remove_if_fn
            {
                struct ConceptImpl
                {
                    template <typename Rng, typename C, typename P = ident, typename I = range_iterator_t<Rng>>
                    decltype(concepts::valid_expr(concepts::model_of<concepts::ForwardRange, Rng>(), concepts::model_of<concepts::ErasableRange, Rng, I, I>(), concepts::is_true(RemovableIf<I, C, P>()))) requires_(Rng&&, C&&, P&& = P{});
                };
                
                template <typename Rng, typename C, typename P = ident>
                using Concept = concepts::models<ConceptImpl, Rng, C, P>;
                
                template <typename Rng, typename C, typename P = ident, int _concept_requires_64 = 42, typename std::enable_if<(_concept_requires_64==43)||(Concept<Rng, C, P>()), int>::type=0>
                Rng operator()(Rng&& rng, C pred, P proj = P{}) const;
                
                template <typename Rng, typename C, typename P = ident, int _concept_requires_74 = 42, typename std::enable_if<(_concept_requires_74==43)||(!Concept<Rng, C, P>()), int>::type=0>
                void operator()(Rng&&, C&&, P&& = P{}) const;
            };
            
            inline namespace 
            {
                constexpr auto& remove_if = static_const<action<remove_if_fn>>::value;
            }
        }
    }
}