This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of TC1 status.

152. Typo in scan_is() semantics

Section: [locale.ctype.virtuals] Status: TC1 Submitter: Dietmar Kühl Opened: 1999-07-20 Last modified: 2017-02-03

Priority: Not Prioritized

View all other issues in [locale.ctype.virtuals].

View all issues with TC1 status.


The semantics of scan_is() (paragraphs 4 and 6) is not exactly described because there is no function is() which only takes a character as argument. Also, in the effects clause (paragraph 3), the semantic is also kept vague.

Proposed resolution:

In [locale.ctype.virtuals] paragraphs 4 and 6, change the returns clause from:

"... such that is(*p) would..."

to:  "... such that is(m, *p) would...."