gcc/libstdc++-v3/testsuite/27_io/basic_istream
Paolo Carlini 247791f5d1 PR libstdc++/15002 (continued again)
2004-04-25  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/15002 (continued again)
	* include/bits/istream.tcc (getline(basic_istream<>&,
	basic_string<>&, _CharT)): Use a temporary buffer, thus
	avoiding reallocation for common case.

	* include/bits/basic_string.tcc (_S_construct(_InIterator,
	_InIterator, const _Alloc&, input_iterator_tag)): Tweak size
	of temporary buffer to a power of two.

	* testsuite/27_io/basic_istream/getline/char/4.cc: Add comment.

From-SVN: r81163
2004-04-25 15:45:13 +00:00
..
exceptions/char re PR libstdc++/9371 (Bad exception handling in i/ostream::operator>>/<<(streambuf*)) 2003-11-27 08:14:25 +00:00
extractors_arithmetic 2.cc: Remove junk. 2004-03-20 12:54:35 +00:00
extractors_character 9555-ic.cc: Clarify assertion, set test variable to false before assert. 2004-04-19 19:00:09 +00:00
extractors_other 9318-in.cc: Remove redundant #include. 2004-01-07 17:13:51 +00:00
get/char 1.cc: Remove redundant #includes. 2004-01-06 12:20:42 +00:00
getline/char PR libstdc++/15002 (continued again) 2004-04-25 15:45:13 +00:00
ignore/char 1.cc: Remove redundant #includes. 2004-01-06 12:20:42 +00:00
peek/char 1.cc: Remove redundant #includes. 2004-01-06 12:20:42 +00:00
putback/char 1.cc: Remove redundant #includes. 2004-01-06 12:20:42 +00:00
read/char 1.cc: Remove redundant #includes. 2004-01-06 12:20:42 +00:00
readsome/char 1.cc: Remove redundant #includes. 2004-01-06 12:20:42 +00:00
seekg/char 9555-ic.cc: Clarify assertion, set test variable to false before assert. 2004-04-19 19:00:09 +00:00
sentry re PR libstdc++/12297 (istream::sentry::sentry() handles eof() incorrectly.) 2003-11-26 22:45:56 +00:00
tellg/char 1.cc: Remove redundant #includes. 2004-01-06 12:20:42 +00:00
ws/char locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
1.cc
2.cc 9555-ic.cc: Clarify assertion, set test variable to false before assert. 2004-04-19 19:00:09 +00:00
3.cc locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
4.cc re PR c++/12226 (g++ fails to enforce accessibility requirement for copy constructor) 2004-01-04 22:42:22 +00:00