Header file range/v3/view/stride.hpp

#include <meta/meta.hpp>

#include <range/v3/range_fwd.hpp>

#include <range/v3/size.hpp>

#include <range/v3/distance.hpp>

#include <range/v3/begin_end.hpp>

#include <range/v3/range_traits.hpp>

#include <range/v3/range_concepts.hpp>

#include <range/v3/view_adaptor.hpp>

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

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

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

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

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

namespace ranges
{
    inline namespace v3
    {
        template <typename Rng>
        struct stride_view;
        
        namespace view
        {
            struct stride_fn
            {
                template <typename Rng, int _concept_requires_199 = 42, typename std::enable_if<(_concept_requires_199==43)||(InputRange<Rng>()), int>::type=0>
                stride_view<all_t<Rng>> operator()(Rng&& rng, range_difference_t<Rng> step) const;
                
                template <typename Rng, typename T, int _concept_requires_219 = 42, typename std::enable_if<(_concept_requires_219==43)||(!InputRange<Rng>()), int>::type=0>
                void operator()(Rng&&, T&&) const;
            };
            
            inline namespace 
            {
                constexpr auto& stride = static_const<view<stride_fn>>::value;
            }
        }
    }
}

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

template <typename Rng>
struct stride_view
: view_adaptor<stride_view<Rng>, Rng, is_finite<Rng>::value ? finite : range_cardinality<Rng>::value>
{
    stride_view() = default;
    
    stride_view(Rng rng, difference_type_ stride);
    
    template <int _concept_requires_178 = 42, typename std::enable_if<(_concept_requires_178==43)||(SizedRange<Rng>()), int>::type=0>
    size_type_ size() const;
};

@{