Boost logo

Boost :

From: shunsuke (pstade.mb_at_[hidden])
Date: 2007-06-13 06:11:26


dan marsden wrote:
> I'm not sure about this. The function object f is called with f(*it). The dereference may return either l or rvalues depending
> on its implementation.

I didn't know '*it' could be rvalue.
It seems that result_of::deref can be used.

> It is possible this usage is not consistent correct across Fusion though. I'll have a review of the result_of usage shortly when I get a chance.

I believe the document in http://www.boost.org/libs/utility/utility.htm
is outdated. We should ask Douglas Gregor, though.

Regards,

-- 
Shunsuke Sogame

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