
23 Jun
2007
23 Jun
'07
8:52 p.m.
shunsuke wrote:
Vincent Poinot wrote:
However, a remark: the example I gave in my first post using accumulate() does not work with make_indirect_fun():
X sum = accumulate(v.begin(), v.end(), X(), deref<X*>(plus<X>())) ;
How about boost::indirect_iterator?
Ok, you win :-)