Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::views::intersperse_fn Struct Reference

Synopsis of methods

constexpr view< intersperse_fnintersperse {}
 

Public Member Functions

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