Topic: Minor defect in 22.1.3.2


Author: Ray Lischner <dontspamme@spam.you>
Date: Fri, 19 Jul 2002 19:01:23 GMT
Raw View
There is a minor defect in 22.1.3.2 [lib.conversions]. The declarations for
toupper and tolower have a spurious "const" modifier, i.e.,

template <class charT> charT toupper(charT c, const locale& loc) const;

should be

template <class charT> charT toupper(charT c, const locale& loc);

--
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: 23 Jul 2002 16:15:08 GMT
Raw View
Ray> There is a minor defect in 22.1.3.2 [lib.conversions]. The declarations for
Ray> toupper and tolower have a spurious "const" modifier, i.e.,

Ray> template <class charT> charT toupper(charT c, const locale& loc) const;

Ray> should be

Ray> template <class charT> charT toupper(charT c, const locale& loc);

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                       ]