Header file range/v3/action/join.hpp

#include <meta/meta.hpp>

#include <range/v3/range_fwd.hpp>

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

#include <range/v3/action/concepts.hpp>

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

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

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

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

#include <range/v3/action/push_back.hpp>

namespace ranges
{
    inline namespace v3
    {
        namespace action
        {
            struct join_fn
            {
                template <typename Rng>
                using Concept = meta::and_<InputRange<Rng>, InputRange<range_value_t<Rng>>, SemiRegular<join_value_t<Rng>>>;
                
                template <typename Rng, int _concept_requires_54 = 42, typename std::enable_if<(_concept_requires_54==43)||(Concept<Rng>()), int>::type=0>
                join_value_t<Rng> operator()(Rng&& rng) const;
                
                template <typename Rng, typename T, int _concept_requires_66 = 42, typename std::enable_if<(_concept_requires_66==43)||(!Concept<Rng>()), int>::type=0>
                void operator()(Rng&&, T&&) const;
            };
            
            inline namespace 
            {
                constexpr auto& join = static_const<action<join_fn>>::value;
            }
        }
    }
}