This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Dup status.
Section: 126.96.36.199.2 [facet.ctype.char.members] Status: Dup Submitter: Dietmar Kühl Opened: 2000-04-24 Last modified: 2017-02-03
Priority: Not Prioritized
View all other issues in [facet.ctype.char.members].
View all issues with Dup status.
Duplicate of: 28
The description of the is() member in paragraph 4 of 188.8.131.52.2 [facet.ctype.char.members] is broken: According to this description, the second form of the is() method modifies the masks in the ctype object. The correct semantics if, of course, to obtain an array of masks. The corresponding method in the general case, ie. the do_is() method as described in 184.108.40.206.2 [locale.ctype.virtuals] paragraph 1 does the right thing.
Change paragraph 4 from
The second form, for all *p in the range [low, high), assigns vec[p-low] to table()[(unsigned char)*p].
The second form, for all *p in the range [low, high), assigns table()[(unsigned char)*p] to vec[p-low].