Title
Ctype<char>is ambiguous
Status
tc1
Section
[facet.ctype.char.members]
Submitter
Nathan Myers

Created on 1998-08-06.00:00:00 last changed 163 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Change [facet.ctype.char.members], paragraph 4, to read

Effects: The second form, for all *p in the range [low, high), assigns into vec[p-low] the value table()[(unsigned char)*p].

Date: 1998-08-06.00:00:00

The description of the vector form of ctype<char>::is can be interpreted to mean something very different from what was intended. Paragraph 4 says

Effects: The second form, for all *p in the range [low, high), assigns vec[p-low] to table()[(unsigned char)*p].

This is intended to copy the value indexed from table()[] into the place identified in vec[].

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg64
1998-08-06 00:00:00admincreate