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
is outdated. We should ask Douglas Gregor, though.


Shunsuke Sogame

Boost list run by bdawes at, gregod at, cpdaniel at, john at