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

Synopsis of methods

constexpr delimit_fn delimit {}
 

Public Member Functions

template<typename I_ , typename Val , typename I = detail::decay_t<I_>>
constexpr auto operator() (I_ &&begin_, Val value) const -> delimit_view< subrange< I, unreachable_sentinel_t >, Val > requires(!range< I_ > &&convertible_to< I_, I > &&input_iterator< I > &&semiregular< Val > &&equality_comparable_with< Val, iter_reference_t< I >>)
 
- Public Member Functions inherited from ranges::views::view< delimit_impl_fn >
constexpr auto operator() (Rng &&rng, Rest &&... rest) const -> invoke_result_t< delimit_impl_fn const &, Rng, Rest... > requires viewable_range< Rng > &&invocable< delimit_impl_fn const &, Rng, Rest... >
 
 requires (sizeof...(Rest) !=0) const expr auto operator()(Rest &&... rest) return make_view(view_access
 
constexpr view (delimit_impl_fn a) noexcept(std::is_nothrow_move_constructible< delimit_impl_fn >::value)
 

Additional Inherited Members

- Static Public Member Functions inherited from ranges::views::view_base
template<typename View >
constexpr static View && get_view (view< View > &&vw) noexcept