
22 Apr
2010
22 Apr
'10
11:02 p.m.
On 22/04/2010 16:19, Peter Dimov wrote:
You need to static_cast to &&, the new rvalue references no longer bind to lvalues without a cast. Or use std::move which should know what to do.
Ok, thanks. I want to support both the old (for installed gccs) and the new approach (msvc 2010). Best, Ion