#include <tlx/meta/index_sequence.hpp>
#include <tuple>
Go to the source code of this file.
|
template<typename Reduce, typename Initial, typename Arg> |
auto | fold_right_impl (Reduce &&r, Initial &&init, Arg &&arg) |
| helper for fold_right: base case
|
|
template<typename Reduce, typename Initial, typename Arg, typename... MoreArgs> |
auto | fold_right_impl (Reduce &&r, Initial &&init, Arg &&arg, MoreArgs &&... rest) |
| helper for fold_right: general recursive case
|
|
template<typename Reduce, typename Initial, typename... Args> |
auto | fold_right (Reduce &&r, Initial &&init, Args &&... args) |
| Implements fold_right() – (a * (b * c)) – with a binary Reduce operation and initial value.
|
|