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


1881. Standard-layout classes and unnamed bit-fields

Section:Clause 11  [class]    Status:CD4    Submitter:Dinka Ranns    Date:2014-02-25

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

According to 11.4.10 [class.bit] paragraph 2,

Unnamed bit-fields are not members and cannot be initialized.

However, the rules defining standard-layout classes inClause 11 [class] paragraph 7 do not account for the fact thata class containing an unnamed bit-field has associated storage.

See alsoissue 1813 for a relatedquestion about standard-layout classes.

Proposed resolution (June, 2014):

This issue is resolved by the resolution ofissue 1813.




[8]ページ先頭

©2009-2026 Movatter.jp