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

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

#include <tinympl/left_fold.hpp>

Detailed Description

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

Collapses a sequence starting from left 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( ... F(F(A1,A2),A3) .. )
See also
variadic::left_fold

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