NiHu  2.0
tmp::accumulate< Seq, Init, Fun > Struct Template Reference

accumulate elements of a sequence using a binary metafunction More...

#include <algorithm.hpp>

Detailed Description

template<class Seq, class Init, class Fun = tmp::plus<_1,_2>>
struct tmp::accumulate< Seq, Init, Fun >

accumulate elements of a sequence using a binary metafunction

Template Parameters
Seqthe sequence the elements of which are accumulated
Initinitial value of accumulation
Funaccumulating functor, the default is plus

Definition at line 73 of file algorithm.hpp.


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