Header file range/v3/view/indirect.hpp

#include <meta/meta.hpp>

#include <range/v3/range_fwd.hpp>

#include <range/v3/range_traits.hpp>

#include <range/v3/begin_end.hpp>

#include <range/v3/view_adaptor.hpp>

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

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

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

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

namespace ranges
{
    inline namespace v3
    {
        template <typename Rng>
        struct indirect_view;
        
        namespace view
        {
            struct indirect_fn
            {
                template <typename Rng>
                using Concept = meta::and_<InputRange<Rng>, Readable<range_value_t<Rng>>>;
                
                template <typename Rng, int _concept_requires_88 = 42, typename std::enable_if<(_concept_requires_88==43)||(Concept<Rng>()), int>::type=0>
                indirect_view<all_t<Rng>> operator()(Rng&& rng) const;
                
                template <typename Rng, int _concept_requires_96 = 42, typename std::enable_if<(_concept_requires_96==43)||(!Concept<Rng>()), int>::type=0>
                void operator()(Rng&&) const;
            };
            
            inline namespace 
            {
                constexpr auto& indirect = static_const<view<indirect_fn>>::value;
            }
        }
    }
}

Class template ranges::v3::indirect_view<Rng>

template <typename Rng>
struct indirect_view
: view_adaptor<indirect_view<Rng>, Rng>
{
    indirect_view() = default;
    
    explicit indirect_view(Rng rng);
    
    template <int _concept_requires_69 = 42, typename std::enable_if<(_concept_requires_69==43)||(SizedRange<Rng>()), int>::type=0>
    range_size_t<Rng> size() const;
};

@{