Header file range/v3/algorithm/copy_if.hpp

#include <range/v3/range_fwd.hpp>

#include <range/v3/begin_end.hpp>

#include <range/v3/range_traits.hpp>

#include <range/v3/range_concepts.hpp>

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

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

#include <range/v3/utility/iterator_concepts.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
    {
        struct copy_if_fn;
        
        inline namespace 
        {
            constexpr auto& copy_if = static_const<with_braced_init_args<copy_if_fn>>::value;
        }
    }
}

Class ranges::v3::copy_if_fn

struct copy_if_fn
{
    template <typename I, typename S, typename O, typename F, typename P = ident, int _concept_requires_38 = 42, typename std::enable_if<(_concept_requires_38==43)||(InputIterator<I>()&&Sentinel<S, I>()&&WeaklyIncrementable<O>()&&IndirectCallablePredicate<F, projected<I, P>>()&&IndirectlyCopyable<I, O>()), int>::type=0>
    tagged_pair<tag::in(I), tag::out(O)> operator()(I, O, I begin, S end, O out, F pred_, P proj_ = P{}) const;
    
    template <typename Rng, typename O, typename F, typename P = ident, typename I = range_iterator_t<Rng>, int _concept_requires_60 = 42, typename std::enable_if<(_concept_requires_60==43)||(InputRange<Rng>()&&WeaklyIncrementable<O>()&&IndirectCallablePredicate<F, projected<I, P>>()&&IndirectlyCopyable<I, O>()), int>::type=0>
    tagged_pair<tag::in(range_safe_iterator_t<Rng>), tag::out(O)> operator()(range_safe_iterator_t<Rng>, O, Rng&& rng, O out, F pred, P proj = P{}) const;
};

@{


Variable ranges::v3::copy_if

constexpr auto& copy_if = static_const<with_braced_init_args<copy_if_fn>>::value;

copy_if_fn