This page is a snapshot from the LWG issues list, see theLibrary Active Issues List for more information and the meaning ofTC1 status.
Section: 99 [facets.examples]Status:TC1Submitter: Jeremy SiekOpened: 1999-06-03Last modified: 2016-01-28
Priority:Not Prioritized
View all otherissues in [facets.examples].
View all issues withTC1 status.
Discussion:
In 99 [facets.examples] paragraph 13, the do_truename() anddo_falsename() functions in the example facet BoolNames should beconst. The functions they are overriding innumpunct_byname<char> are const.
Proposed resolution:
In 99 [facets.examples] paragraph 13, insert "const" intwo places:
string do_truename() const { return "Oui Oui!"; }
string do_falsename() const { return "Mais Non!"; }