Boost logo

Boost :

From: shunsuke (pstade.mb_at_[hidden])
Date: 2008-04-10 02:11:43


Eric Niebler wrote:
>> As shown above, lvalue/rvalue-ness doesn't guarantee the complete safety.
>
> I think your argument is specious.

I just show a counter-example.
It might not be a real use case, though.
I think

     int i;
     /* perform elaborate calculations for i. */
     return make_tuple(rvalue(i));

seems odd.

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