
10 Apr
2008
10 Apr
'08
6:11 a.m.
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