From: shunsuke (pstade.mb_at_[hidden])
Date: 2007-11-21 21:01:21
Joel de Guzman wrote:
> shunsuke wrote:
>> I'm trying to fix ticket #1396: http://svn.boost.org/trac/boost/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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk