Title
Misleading comment in definition of numpunct_byname
Status
cd1
Section
[locale.numpunct.byname]
Submitter
Martin Sebor

Created on 2001-05-12.00:00:00 last changed 164 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Remove the comment from the text in 22.2.3.2 and from the proposed resolution of library issue 228.

Date: 2001-05-12.00:00:00

The definition of the numpunct_byname template contains the following comment:

    namespace std {
        template <class charT>
        class numpunct_byname : public numpunct<charT> {
    // this class is specialized for char and wchar_t.
        ...

There is no documentation of the specializations and it seems conceivable that an implementation will not explicitly specialize the template at all, but simply provide the primary template.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg2218
2001-05-12 00:00:00admincreate