tinympl  0.2
mini MPL library for C++11
tinympl::right_fold< Sequence, F > Class Template Reference

Collapses a sequence starting from right using a functor. More...

#include <tinympl/right_fold.hpp>

Detailed Description

template<class Sequence, template< class...> class F>
class tinympl::right_fold< Sequence, F >

Collapses a sequence starting from right using a functor.

Parameters
SequenceThe input sequence
FThe functor; F<T,U> must be a valid expression
Returns
A type which is the result of F(A1, F(A2,F(A3, ... ) ) )
See also
variadic::right_fold

The documentation for this class was generated from the following file: