Range-v3
Range algorithms, views, and actions for the Standard Library
fold_right.hpp File Reference

Classes

struct  ranges::detail::flipped< F >
 

Concepts

concept  ranges::indirectly_binary_right_foldable
 The indirectly_binary_right_foldable concept.
 

Functions

template<typename I , typename S , typename T , typename Op >
requires sentinel_for<S, I> && bidirectional_iterator<I> && indirectly_binary_right_foldable<Op, T, I>
constexpr auto ranges::fold_right (I first, S last, T init, Op op)
 
template<typename Rng , typename T , typename Op >
requires bidirectional_range<Rng> && indirectly_binary_right_foldable<Op, T, iterator_t<Rng>>
constexpr auto ranges::fold_right (Rng &&rng, T init, Op op)
 
template<typename I , typename S , typename Op >
requires sentinel_for<S, I> && bidirectional_iterator<I> && indirectly_binary_right_foldable<Op, iter_value_t<I>, I> && constructible_from<iter_value_t<I>, iter_reference_t<I>>
constexpr auto ranges::fold_right_last (I first, S last, Op op)
 
template<typename R , typename Op >
requires bidirectional_range<R> && indirectly_binary_right_foldable<Op, range_value_t<R>, iterator_t<R>> && constructible_from<range_value_t<R>, range_reference_t<R>>
constexpr auto ranges::fold_right_last (R &&rng, Op op)