Topic: typo in 27.6.1.3, par 32


Author: Ray Lischner <dontspamme@spam.you>
Date: Mon, 15 Jul 2002 13:17:53 CST
Raw View
There is a typo in 27.6.1.3, par 32 (basic_istream::putback). The paragraphs
reads (somewhere in the middle),

"...If rdbuf() is not null, calls rdbuf->sputbackc(). If rdbuf() is null, or
if sputback() returns traits::eof(), calls setstate(badbit)..."

On the second line above, it should be "sputbackc" not "sputback".
--
Ray Lischner, author of C++ in a Nutshell (forthcoming)
http://www.tempest-sw.com/cpp/

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]





Author: Andrew Koenig <ark@research.att.com>
Date: Mon, 15 Jul 2002 14:02:01 CST
Raw View
Ray> "...If rdbuf() is not null, calls rdbuf->sputbackc(). If rdbuf() is null, or
Ray> if sputback() returns traits::eof(), calls setstate(badbit)..."

Ray> On the second line above, it should be "sputbackc" not "sputback".

Noted; thanks!

--
Andrew Koenig, ark@research.att.com, http://www.research.att.com/info/ark

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]