This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD status.
Section: 23.2 [char.traits] Status: NAD Submitter: Jack Reeves Opened: 2006-04-06 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [char.traits].
View all issues with NAD status.
Discussion:
Currently, the Standard Library specifies only a declaration for template class char_traits<> and requires the implementation provide two explicit specializations: char_traits<char> and char_traits<wchar_t>. I feel the Standard should require explicit specializations for all built-in character types, i.e. char, wchar_t, unsigned char, and signed char.
I have put together a paper (N1985) that describes this in more detail and includes all the necessary wording.
[ Portland: Jack will rewrite N1985 to propose a primary template that will work with other integral types. ]
[ Toronto: issue has grown with addition of char16_t and char32_t. ]
[ post Bellevue: ]
We suggest that Jack be asked about the status of his paper, and if it is not forthcoming, the work-item be assigned to someone else. If no one steps forward to do the paper before the next meeting, we propose to make this NAD without further discussion. We leave this Open for now, but our recommendation is NAD.
Note: the issue statement should be updated, as the Toronto comment has already been resolved. E.g., char_traits specializations for char16_t and char32_t are now in the working paper.
[ Sophia Antipolis: ]
Nobody has submitted the requested paper, so we move to NAD, as suggested by the decision at the last meeting.
Proposed resolution: