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

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

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

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

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

Class ranges::v3::find_fn

struct find_fn
{
    template <typename I, typename S, typename V, typename P = ident, int _concept_requires_44 = 42, typename std::enable_if<(_concept_requires_44==43)||(InputIterator<I>()&&Sentinel<S, I>()&&IndirectCallableRelation<equal_to, projected<I, P>, V const*>()), int>::type=0>
    I operator()(I begin, S end, V const& val, P proj_ = P{}) const;
    
    template <typename Rng, typename V, typename P = ident, typename I = range_iterator_t<Rng>, int _concept_requires_58 = 42, typename std::enable_if<(_concept_requires_58==43)||(InputRange<Rng>()&&IndirectCallableRelation<equal_to, projected<I, P>, V const*>()), int>::type=0>
    range_safe_iterator_t<Rng> operator()(Rng&& rng, V const& val, P proj = P{}) const;
};

@{

Function template ranges::v3::find_fn::operator()<I, S, V, P, _concept_requires_44>

template <typename I, typename S, typename V, typename P = ident, int _concept_requires_44 = 42, typename std::enable_if<(_concept_requires_44==43)||(InputIterator<I>()&&Sentinel<S, I>()&&IndirectCallableRelation<equal_to, projected<I, P>, V const*>()), int>::type=0>
I operator()(I begin, S end, V const& val, P proj_ = P{}) const;

template function \c find_fn::operator()

range-based version of the \c find std algorithm

Rng is a model of the Range concept I is a model of the InputIterator concept S is a model of the Sentinel<I> concept P is a model of the Callable<iterator_common_reference_t<I>> concept P is EqualityComparable with V



Variable ranges::v3::find

constexpr auto& find = static_const<with_braced_init_args<find_fn>>::value;

find_fn