Title
True/falsename() not in ctype<>
Status
tc1
Section
[facet.num.put.virtuals]
Submitter
Nathan Myers

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

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

In [facet.num.put.virtuals], paragraph 19, in the Effects: clause for member put(...., bool), replace the initialization of the string_type value s as follows:

const numpunct& np = use_facet<numpunct<charT> >(loc);
string_type s = val ? np.truename() : np.falsename(); 
Date: 1998-08-06.00:00:00

In paragraph 19, Effects:, members truename() and falsename are used from facet ctype<charT>, but it has no such members. Note that this is also a problem in 22.2.2.1.2, addressed in (4).

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