Movatterモバイル変換


[0]ホーム

URL:



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

665.do_unshift return value

Section: 28.3.4.2.5.3[locale.codecvt.virtuals]Status:CD1Submitter: Thomas PlumOpened: 2007-04-16Last modified: 2016-01-28

Priority:Not Prioritized

View otheractive issues in [locale.codecvt.virtuals].

View all otherissues in [locale.codecvt.virtuals].

View all issues withCD1 status.

Discussion:

28.3.4.2.5.3[locale.codecvt.virtuals], para 8 says:

codecvt<char,char,mbstate_t>, returnsnoconv.

The following objection has been raised:

Despite what the C++ Standard says,unshift can't always returnnoconv for the default facets, since they can be nontrivial. At least one implementation does whatever the C functions do.

[Plum ref _222152Y62]

Proposed resolution:

Change 28.3.4.2.5.3[locale.codecvt.virtuals], p8:

Returns: An enumeration value, as summarized in Table 76:

...

codecvt<char,char,mbstate_t>, returnsnoconv.


[8]ページ先頭

©2009-2025 Movatter.jp