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: 28.3.4.2.2.3 [locale.ctype.virtuals] Status: TC1 Submitter: Dietmar Kühl Opened: 1999-07-20 Last modified: 2016-01-28

Priority: Not Prioritized

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

View all issues with TC1 status.

Discussion:

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 28.3.4.2.2.3 [locale.ctype.virtuals] paragraphs 4 and 6, change the returns clause from:

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

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