Movatterモバイル変換


[0]ホーム

URL:


This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 119a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2025-12-20


1832. Casting to incomplete enumeration

Section:7.6.1.9  [expr.static.cast]    Status:CD4    Submitter:Richard Smith    Date:2014-01-16

[Moved to DR at the November, 2014 meeting.]

The specification of casting to an enumeration type in7.6.1.9 [expr.static.cast] paragraph 10 does not require that theenumeration type be complete. Should it? (There is variationamong implementations.)

Proposed resolution (February, 2014):

Change 7.6.1.9 [expr.static.cast] paragraph 10 as follows:

A value of integral or enumeration type can be explicitly convertedtoana complete enumeration type. The value is...



[8]ページ先頭

©2009-2026 Movatter.jp