gcc/libstdc++-v3/testsuite/21_strings/basic_string
Paolo Carlini 3adf6cadbb istream.tcc (operator>>(basic_istream<>&, basic_string<>&)): Use a temporary buffer, thus avoiding reallocation for common case.
2004-05-20  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/istream.tcc (operator>>(basic_istream<>&,
	basic_string<>&)): Use a temporary buffer, thus avoiding
	reallocation for common case.
	* testsuite/21_strings/basic_string/inserters_extractors/char/11.cc:
	New.
	* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
	Likewise.

	* include/bits/istream.tcc: Const-ification of a few variables.

	* include/bits/ostream.tcc: Trivial formatting fixes and
	const-ification of some variables.

From-SVN: r82070
2004-05-20 22:06:40 +00:00
..
append locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
assign locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
capacity 9555-ic.cc: Clarify assertion, set test variable to false before assert. 2004-04-19 19:00:09 +00:00
compare testsuite_flags.in: Add "-D_GLIBCXX_ASSERT" to CXXFLAGS_save. 2004-03-04 23:29:44 +00:00
cons 6.cc: New. 2004-01-30 23:26:13 +00:00
element_access basic_string.h (c_str()): Simplify, due to 21.3.4 the internal representation is always kept null-terminated. 2004-01-18 10:51:13 +00:00
find locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
insert locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
inserters_extractors istream.tcc (operator>>(basic_istream<>&, basic_string<>&)): Use a temporary buffer, thus avoiding reallocation for common case. 2004-05-20 22:06:40 +00:00
operators locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
replace basic_string.tcc (replace(size_type, size_type, const _CharT*, size_type)): Implement optimized in-place algorithm for non-overlapping ranges. 2004-01-26 09:07:18 +00:00
rfind locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
substr locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00