Header file range/v3/algorithm/count_if.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/functional.hpp>

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

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

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

namespace ranges
{
    inline namespace v3
    {
        struct count_if_fn;
        
        inline namespace 
        {
            constexpr auto& count_if = static_const<with_braced_init_args<count_if_fn>>::value;
        }
    }
}

Class ranges::v3::count_if_fn

struct count_if_fn
{
    template <typename I, typename S, typename R, typename P = ident, int _concept_requires_35 = 42, typename std::enable_if<(_concept_requires_35==43)||(InputIterator<I>()&&Sentinel<S, I>()&&IndirectCallablePredicate<R, projected<I, P>>()), int>::type=0>
    iterator_difference_t<I> operator()(I begin, S end, R pred_, P proj_ = P{}) const;
    
    template <typename Rng, typename R, typename P = ident, typename I = range_iterator_t<Rng>, int _concept_requires_51 = 42, typename std::enable_if<(_concept_requires_51==43)||(InputRange<Rng>()&&IndirectCallablePredicate<R, projected<I, P>>()), int>::type=0>
    iterator_difference_t<I> operator()(Rng&& rng, R pred, P proj = P{}) const;
};

@{


Variable ranges::v3::count_if

constexpr auto& count_if = static_const<with_braced_init_args<count_if_fn>>::value;

count_if_fn