
9 Jun
2006
9 Jun
'06
4:35 p.m.
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