Header file range/v3/view/chunk.hpp

#include <meta/meta.hpp>

#include <range/v3/range_fwd.hpp>

#include <range/v3/begin_end.hpp>

#include <range/v3/iterator_range.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/view/all.hpp>

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

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

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

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

namespace ranges
{
    inline namespace v3
    {
        template <typename Rng>
        struct chunk_view;
        
        namespace view
        {
            struct chunk_fn
            {
                template <typename Rng, int _concept_requires_145 = 42, typename std::enable_if<(_concept_requires_145==43)||(ForwardRange<Rng>()), int>::type=0>
                chunk_view<all_t<Rng>> operator()(Rng&& rng, range_difference_t<Rng> n) const;
                
                template <typename Rng, typename T, int _concept_requires_164 = 42, typename std::enable_if<(_concept_requires_164==43)||(!(ForwardRange<Rng>()&&Integral<T>())), int>::type=0>
                void operator()(Rng&&, T) const;
            };
            
            inline namespace 
            {
                constexpr auto& chunk = static_const<view<chunk_fn>>::value;
            }
        }
    }
}

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

template <typename Rng>
struct chunk_view
: view_adaptor<chunk_view<Rng>, Rng, is_finite<Rng>::value ? finite : range_cardinality<Rng>::value>
{
    chunk_view() = default;
    
    chunk_view(Rng rng, range_difference_t<Rng> n);
    
    template <int _concept_requires_67 = 42, typename std::enable_if<(_concept_requires_67==43)||(SizedRange<Rng>()), int>::type=0>
    range_size_t<Rng> size() const;
};

@{