Boost logo

Boost :

From: Vincent Poinot (vincent.poinot_at_[hidden])
Date: 2007-06-23 16:52:57


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 :-)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk