Commit f45f9aed by Danny Smith Committed by Benjamin Kosnik

istream.tcc (basic_istream::ignore): Use sbumpc, not snextc.


2002-08-08  Danny Smith  <dannysmith@users.sourceforge.net>
            Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
	not snextc.
	* testsuite/27_io/narrow_stream_objects.cc (test10): Add.

From-SVN: r56154
parent a2554733
......@@ -66,8 +66,7 @@
#include <cstdlib>
#include <cstring>
#include <ctime>
//#include <testsuite_hooks.h>
#define VERIFY(x) x
#include <testsuite_hooks.h>
// Include iostream last, just to make is as difficult as possible to
// properly initialize the standard iostream objects.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment