Topic: Wrong nomenclature in 27.6.2.1?


Author: dsp@bdal.de (=?ISO-8859-1?Q?=22Daniel_Kr=FCgler_=28ne_Spangenberg=29=22?=)
Date: Wed, 23 Jun 2004 17:38:12 +0000 (UTC)
Raw View
Hello,

I just observed that the declaration of the operator<< overloads in=20
27.6.2.1 of TC1 of Our Holy
Standard mentions:

"// partial specializationss
template<class traits>
basic_ostream<char,traits>& operator<<(basic_ostream<char,traits>&,
const char*);"

Despite the print error ("specializationss") the content of the comment=20
is misleading, because
function templates (currently) don't allow partial specialization but=20
overloading of
specializations. Shouldn't the comment say "// specialization" similar to

"// specialization
template<class traits>
basic_ostream<char,traits>& operator<<(basic_ostream<char,traits>&,
char);"

?

Greetings from Bremen,

Daniel Kr=FCgler

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