13 #ifndef TINYMPL_VARIADIC_RIGHT_FOLD_HPP
14 #define TINYMPL_VARIADIC_RIGHT_FOLD_HPP
28 template<
template<
class ...>
class Op,
class ... Args>
struct right_fold;
30 template<
template<
class ...>
class Op,
class Head,
class ... Tail>
32 typedef typename Op < Head,
33 typename right_fold<Op, Tail...>::type >::type type;
36 template<
template<
class ...>
class Op,
typename T>
struct right_fold<Op, T> {
43 #endif // TINYMPL_VARIADIC_RIGHT_FOLD_HPP
Collapses a sequence starting from right using a functor.
Definition: right_fold.hpp:28