Header file range/v3/view/repeat.hpp

#include <range/v3/range_fwd.hpp>

#include <range/v3/range_concepts.hpp>

#include <range/v3/view_facade.hpp>

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

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

namespace ranges
{
    inline namespace v3
    {
        template <typename Val>
        struct repeat_view
        : view_facade<repeat_view<Val>, infinite>
        {
            repeat_view() = default;
            
            explicit constexpr repeat_view(Val value);
        };
        
        namespace view
        {
            struct repeat_fn
            {
                template <typename Val, int _concept_requires_94 = 42, typename std::enable_if<(_concept_requires_94==43)||(SemiRegular<Val>()), int>::type=0>
                repeat_view<Val> operator()(Val value) const;
                
                template <typename Val, int _concept_requires_101 = 42, typename std::enable_if<(_concept_requires_101==43)||(!SemiRegular<Val>()), int>::type=0>
                void operator()(Val) const;
            };
            
            inline namespace 
            {
                constexpr auto& repeat = static_const<repeat_fn>::value;
            }
        }
    }
}