Topic: Typos in basic_istream (27.6.1.1)


Author: Ray Lischner <dontspamme@spam.you>
Date: Mon, 15 Jul 2002 17:19:04 GMT
Raw View
There are some more missing semicolons in the declaration for basic_istream
in section 27.6.1.1. The following member functions are missing semicolons
in their declarations:

// 27.6.1.2 Formatted input:
basic_istream<charT,traits>& operator>>
    (basic_istream<charT,traits>& (*pf)(basic_istream<charT,traits>&))
basic_istream<charT,traits>& operator>>
    (basic_ios<charT,traits>& (*pf)(basic_ios<charT,traits>&))
basic_istream<charT,traits>& operator>>
    (ios_base& (*pf)(ios_base&))
--
Ray Lischner, author of C++ in a Nutshell (forthcoming, Q4 2002)
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 21:58:37 GMT
Raw View
Ray> There are some more missing semicolons in the declaration for
Ray> basic_istream in section 27.6.1.1. The following member functions
Ray> are missing semicolons in their declarations:

Ray> // 27.6.1.2 Formatted input:
Ray> basic_istream<charT,traits>& operator>>
Ray>     (basic_istream<charT,traits>& (*pf)(basic_istream<charT,traits>&))
Ray> basic_istream<charT,traits>& operator>>
Ray>     (basic_ios<charT,traits>& (*pf)(basic_ios<charT,traits>&))
Ray> basic_istream<charT,traits>& operator>>
Ray>     (ios_base& (*pf)(ios_base&))

Noted; thank you.

--
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                       ]