Horizon
Classes | Functions | Variables
fold_right.hpp File Reference
#include <meta/meta.hpp>
#include <range/v3/algorithm/fold_left.hpp>
#include <range/v3/functional/identity.hpp>
#include <range/v3/functional/invoke.hpp>
#include <range/v3/iterator/operations.hpp>
#include <range/v3/range/access.hpp>
#include <range/v3/range/concepts.hpp>
#include <range/v3/utility/optional.hpp>
#include <range/v3/detail/prologue.hpp>
#include <range/v3/detail/epilogue.hpp>

Go to the source code of this file.

Classes

struct  ranges::detail::flipped< F >
 

Functions

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

Variables

template<class F , class T , class I >
CPP_concept ranges::indirectly_binary_right_foldable
 \concept indirectly_binary_right_foldable More...
 

Variable Documentation

◆ indirectly_binary_right_foldable

template<class F , class T , class I >
CPP_concept ranges::indirectly_binary_right_foldable
Initial value:
=
indirectly_binary_left_foldable<detail::flipped<F>, T, I>

\concept indirectly_binary_right_foldable

The indirectly_binary_right_foldable concept