r262474 - in /trunk/libstdc++-v3: ChangeLog con...

redi@gcc.gnu.org redi@gcc.gnu.org
Fri Jul 6 12:39:00 GMT 2018


Author: redi
Date: Fri Jul  6 12:39:02 2018
New Revision: 262474

URL: https://gcc.gnu.org/viewcvs?rev=262474&root=gcc&view=rev
Log:
P0935R0 Eradicating unnecessarily explicit default constructors

This is the last remaining piece of P0935R0. This adds a default
constructor to each of the streambuf and stream types in <sstream> so
that default construction does not use the 'explicit' constructor that
has a single, defaulted argument.

	P0935R0 Eradicating unnecessarily explicit default constructors
	* config/abi/pre/gnu.ver: Tighten existing patterns and export new
	default constructor symbols.
	* include/std/sstream (basic_stringbuf, basic_istringstream)
	(basic_ostringstream, basic_stringstream): Remove default arguments
	from explicit constructors taking ios_base::openmode and add separate
	non-explicit default constructors.
	* testsuite/27_io/basic_istringstream/cons/default.cc: New.
	* testsuite/27_io/basic_ostringstream/cons/default.cc: New.
	* testsuite/27_io/basic_stringstream/cons/default.cc: New.
	* testsuite/27_io/basic_stringbuf/cons/char/default.cc: New.
	* testsuite/27_io/basic_stringbuf/cons/wchar_t/default.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/27_io/basic_istringstream/cons/default.cc
    trunk/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/default.cc
    trunk/libstdc++-v3/testsuite/27_io/basic_stringbuf/cons/char/default.cc
    trunk/libstdc++-v3/testsuite/27_io/basic_stringbuf/cons/wchar_t/default.cc
    trunk/libstdc++-v3/testsuite/27_io/basic_stringstream/cons/default.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/config/abi/pre/gnu.ver
    trunk/libstdc++-v3/include/std/sstream



More information about the Libstdc++-cvs mailing list