Movatterモバイル変換


[0]ホーム

URL:



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

34. True/falsename() not in ctype<>

Section: 28.3.4.3.3.3[facet.num.put.virtuals]Status:TC1Submitter: Nathan MyersOpened: 1998-08-06Last modified: 2016-01-28

Priority:Not Prioritized

View otheractive issues in [facet.num.put.virtuals].

View all otherissues in [facet.num.put.virtuals].

View all issues withTC1 status.

Discussion:

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

Proposed resolution:

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

const numpunct& np = use_facet<numpunct<charT> >(loc);string_type s = val ? np.truename() : np.falsename();

[8]ページ先頭

©2009-2026 Movatter.jp