gcc/libstdc++-v3/include/backward
Jonathan Wakely c6d4257972 PR libstdc++/69608 Move semantics for strstreambuf
In libstdc++ the deprecated char* streams are non-copyable, as was
required pre-C++11.

Since C++11 the standard implies that those streams should be copyable,
but doesn't specify the effects of copying them. This is surely a
defect, so for consistency with other implementations this change makes
them movable, but not copyable.

	PR libstdc++/69608
	* include/backward/strstream (strstreambuf): Define move constructor
	and move assignment operator.
	(istrstream, ostrstream, strstream): Likewise.
	* testsuite/backward/strstream_move.cc: New.

From-SVN: r259842
2018-05-02 17:25:44 +01:00
..
auto_ptr.h Update copyright years. 2018-01-03 11:03:58 +01:00
backward_warning.h Update copyright years. 2018-01-03 11:03:58 +01:00
binders.h Update copyright years. 2018-01-03 11:03:58 +01:00
hash_fun.h Update copyright years. 2018-01-03 11:03:58 +01:00
hash_map Update copyright years. 2018-01-03 11:03:58 +01:00
hash_set Update copyright years. 2018-01-03 11:03:58 +01:00
hashtable.h Update copyright years. 2018-01-03 11:03:58 +01:00
strstream PR libstdc++/69608 Move semantics for strstreambuf 2018-05-02 17:25:44 +01:00