Boost logo

Boost :

From: shunsuke (pstade.mb_at_[hidden])
Date: 2007-11-21 21:01:21

Joel de Guzman wrote:
> shunsuke wrote:
>> Hi,
>> I'm trying to fix ticket #1396:
>> Any hint?
> I just replied to that in the ticket :-) HTH.

Hmm, your `identity` implementation seems wrong.
`result<Fun(int)>` invocation means that the argument is rvalue
by the definition of result_of behavior.
Therefore, you can't return mutable reference to `int`.

Shunsuke Sogame

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