std_istream.h (ignore(streamsize __n = 1, int_type __delim = traits_type::eof())...
authorPaolo Carlini <pcarlini@suse.de>
Tue, 22 Jun 2004 10:06:39 +0000 (10:06 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 22 Jun 2004 10:06:39 +0000 (10:06 +0000)
commit80dddedcaf316e1a1f3346c9cbda719b40fd28a5
tree5f2d938ba07c066da1ee25f22e88ae358b32679f
parent39bc18760f4b039c6fc89f98a132183b8371a751
std_istream.h (ignore(streamsize __n = 1, int_type __delim = traits_type::eof())): Split into...

2004-06-22  Paolo Carlini  <pcarlini@suse.de>

* include/std/std_istream.h (ignore(streamsize __n = 1,
int_type __delim = traits_type::eof())): Split into...
(ignore(), ignore(streamsize __n), ignore(streamsize __n,
int_type __delim)): The first two can be much more simpler
and efficient than the fully general case; also, the last
two can take advantage of the same mechanism already used
for getline.
* include/bits/istream.tcc (ignore(streamsize __n = 1,
int_type __delim = traits_type::eof()): Remove.
(ignore(), ignore(streamsize __n), ignore(streamsize __n,
int_type __delim)): New.

From-SVN: r83486
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/istream.tcc
libstdc++-v3/include/std/std_istream.h