Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::views::intersperse_base_fn Struct Reference
+ Inheritance diagram for ranges::views::intersperse_base_fn:

Public Member Functions

template<typename Rng >
requires viewable_range<Rng> && input_range<Rng> && convertible_to<range_reference_t<Rng>, range_value_t<Rng>> && semiregular<range_value_t<Rng>>
constexpr intersperse_view< all_t< Rng > > operator() (Rng &&rng, range_value_t< Rng > val) const