On 2010-11-27, 20:22:02 -0600, Roman Kononov <[email protected]> wrote: > Should this one emit the same error then? 4.6 compiles it. > > typedef int X; > X test() { > X const& a={}; > return std::move(a); > }
Never mind. I've figured it out. Thanks.
On 2010-11-27, 20:22:02 -0600, Roman Kononov <[email protected]> wrote: > Should this one emit the same error then? 4.6 compiles it. > > typedef int X; > X test() { > X const& a={}; > return std::move(a); > }
Never mind. I've figured it out. Thanks.