gcc/libstdc++-v3/include
Paolo Carlini 062bf89593 PR libstdc++/15002 (continued)
2004-04-24  Paolo Carlini  <pcarlini@suse.de>
	    Petur Runolfsson  <peturr02@ru.is>

	PR libstdc++/15002 (continued)
	* include/bits/istream.tcc (basic_istream<>::getline(char_type*,
	streamsize, char_type)): Use traits::find/copy in a loop to speed
	up greatly the function in the common case (I/O buffer size >> 1).

2004-04-24  Paolo Carlini  <pcarlini@suse.de>

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

	* include/bits/istream.tcc (getline(basic_istream<>&,
	basic_string<>&, _CharT)): Change to use sgetc()/snextc() instead
	of sbumpc(), consistently with the other functions, thus also
	dealing correctly with the case of exceeded string::max_size().

Co-Authored-By: Petur Runolfsson <peturr02@ru.is>

From-SVN: r81146
2004-04-24 22:20:31 +00:00
..
backward re PR libstdc++/14647 (bit_vectors are broken (regression)) 2004-03-19 06:54:40 -08:00
bits PR libstdc++/15002 (continued) 2004-04-24 22:20:31 +00:00
c std_cctype.h, [...]: Remove trailing whitespace. 2003-12-09 04:41:52 +01:00
c_compatibility iso646.h, [...]: Remove trailing whitespace. 2003-12-09 04:51:46 +01:00
c_std re PR libstdc++/11706 (std::pow(T, int) implementation pessimizes code) 2004-03-11 10:42:26 +00:00
debug c++config (_GLIBCXX_STD): New. 2004-04-16 19:04:07 +00:00
ext Fixups for EDG front end. 2004-04-07 03:33:36 +00:00
std c++config (_GLIBCXX_STD): New. 2004-04-16 19:04:07 +00:00
Makefile.am allocator: New. 2004-03-13 06:54:25 +00:00
Makefile.in acinclude.m4 (GLIBCXX_CHECK_WCHAR_T_SUPPORT): Set LIBICONV, not libiconv. 2004-03-19 11:34:47 +00:00
stdc++.h stdc++.h: New. 2003-03-14 22:16:06 +00:00