Title
Missing specialization of ctype_byname<char>
Status
c++11
Section
[locale.syn]
Submitter
Alisdair Meredith

Created on 2009-12-25.00:00:00 last changed 153 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

[locale.syn]

Strike the explicit specialization for ctype_byname<char> from the <locale> synopsis

...
template <class charT> class ctype_byname;
template <>            class ctype_byname<char>;  // specialization
...
Date: 2010-01-31.00:00:00

[ 2010-01-31 Moved to Tentatively Ready after 5 positive votes on c++std-lib. ]

Date: 2009-12-25.00:00:00

The <locale> synopsis in [locale.syn] calls out an explicit specialization for ctype_byname<char>, however no such specialization is defined in the standard. The only reference I can find to ctype_byname<char> is [locale.facet]:Table 77 — Required specializations (for facets) which also refers to ctype_byname<wchar_t> which has no special consideration.

Is the intent an explicit instantiation which would use a slightly different syntax? Should the explicit specialization simply be struck?

History
Date User Action Args
2011-08-23 20:07:26adminsetstatus: wp -> c++11
2010-10-21 18:28:33adminsetmessages: + msg1493
2010-10-21 18:28:33adminsetmessages: + msg1492
2009-12-25 00:00:00admincreate