This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r123770 - in /branches/gcc-4_2-branch/libstdc++...


Author: paolo
Date: Fri Apr 13 00:06:37 2007
New Revision: 123770

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123770
Log:
2007-04-12  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/28277 (partial: vstring bits)
	* include/bits/ostream_insert.h: New.
	* include/Makefile.am: Add.
	* include/ext/vstring.h (operator<<(basic_ostream<>&,
	const __versa_string<>&): Forward to __ostream_insert.
	* include/bits/basic_string.h (operator<<(basic_ostream<>&,
	const string<>&)): Likewise.
	* include/std/std_ostream.h (operator<<(basic_ostream<>&, _CharT),
	operator<<(basic_ostream<char,>&, char), operator<<(basic_ostream<>&,
	const _CharT*), operator<<(basic_ostream<char,>&, const char*)):
	Likewise.
	* include/ext/vstring.tcc (operator<<(basic_ostream<>&,
	const __versa_string<>&)): Remove.
	(class basic_ostream): Remove friend declarations.
	(basic_ostream<>::_M_write(char_type, streamsize),
	_M_insert(const char_type*, streamsize)): Remove.
	* include/bits/ostream.tcc (_M_insert(const char_type*, streamsize)):
	Remove definition.
	(operator<<(basic_ostream<>&, const char*)): Use __ostream_insert.
	* include/ext/vstring_util.h: Include <bits/ostream_insert.h>.
	* include/std/std_string.h: Likewise.
	* config/abi/pre/gnu.ver: Adjust.
	* src/ostream-inst.cc: Add __ostream_insert instantiations.
	* include/Makefile.in: Rebuild.
	* testsuite/ext/vstring/inserters_extractors/char/28277.cc: New.
	* testsuite/ext/vstring/inserters_extractors/wchar_t/28277.cc: New.

Added:
    branches/gcc-4_2-branch/libstdc++-v3/include/bits/ostream_insert.h
    branches/gcc-4_2-branch/libstdc++-v3/testsuite/ext/vstring/inserters_extractors/
    branches/gcc-4_2-branch/libstdc++-v3/testsuite/ext/vstring/inserters_extractors/char/
    branches/gcc-4_2-branch/libstdc++-v3/testsuite/ext/vstring/inserters_extractors/char/28277.cc
    branches/gcc-4_2-branch/libstdc++-v3/testsuite/ext/vstring/inserters_extractors/wchar_t/
    branches/gcc-4_2-branch/libstdc++-v3/testsuite/ext/vstring/inserters_extractors/wchar_t/28277.cc
Modified:
    branches/gcc-4_2-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_2-branch/libstdc++-v3/config/abi/pre/gnu.ver
    branches/gcc-4_2-branch/libstdc++-v3/include/Makefile.am
    branches/gcc-4_2-branch/libstdc++-v3/include/Makefile.in
    branches/gcc-4_2-branch/libstdc++-v3/include/bits/basic_string.h
    branches/gcc-4_2-branch/libstdc++-v3/include/bits/ostream.tcc
    branches/gcc-4_2-branch/libstdc++-v3/include/ext/vstring.h
    branches/gcc-4_2-branch/libstdc++-v3/include/ext/vstring.tcc
    branches/gcc-4_2-branch/libstdc++-v3/include/ext/vstring_util.h
    branches/gcc-4_2-branch/libstdc++-v3/include/std/std_ostream.h
    branches/gcc-4_2-branch/libstdc++-v3/include/std/std_string.h
    branches/gcc-4_2-branch/libstdc++-v3/src/ostream-inst.cc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]