From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2006-06-09 12:35:12


Hello,

can someone tell me what exactly a parameter State in the mpl::accumulate means.

After the evaluation is finished, which type is returned by accumulate? State? Which types are
passed to the binary ForwardOp?

I do not exactly understand this example:

typedef vector<long,float,short,double,float,long,long double> types;

typedef accumulate<
      types
    , int_<0>
    , if_< is_float<_2>,next<_1>,_1 >
>::type number_of_floats;

With Kind Regards,

Ovanes Markarian