Topic: Defect report for basic_istream::get


Author: Ray Lischner <dontspamme@spam.you>
Date: 15 Jul 2002 17:25:56 GMT
Raw View
[ Forwarded to C++ Committee. -- sdc ]

Defect report for description of basic_istream::get (section 27.6.1.3
[lib.istream.unformatted]), paragraph 15. The description for the get
function with the following signature:

  basic_istream<charT,traits>& get(basic_streambuf<char_type,traits>& sb);

is incorrect. It reads

  Effects: Calls get(s,n,widen('\n'))

which I believe should be:

  Effects: Calls get(sb,widen('\n'))
--
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                       ]