[patch] Implement move semantics for iostreams

Jonathan Wakely jwakely@redhat.com
Tue Sep 23 09:58:00 GMT 2014

On 23/09/14 11:48 +0200, Andreas Schwab wrote:
>Jonathan Wakely <jwakely@redhat.com> writes:
>> Although this is a pretty large patch, it's a pure addition that only
>> affects C++11 mode, and should have no effect on existing code because
>> it won't be moving or swapping streams.
>FAIL: g++.old-deja/g++.law/ctors10.C  -std=c++11 (test for excess errors)
>Excess errors:
>/daten/aranym/gcc/gcc-20140923/gcc/testsuite/g++.old-deja/g++.law/ctors10.C:16:46: error: call of overloaded 'basic_ostream(NULL)' is ambiguous

Thanks, I'll adjust the new constructor.

More information about the Gcc-patches mailing list