A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.github.io/CWG/issues/1881.html below:

CWG Issue 1881

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

2025-08-11

1881. Standard-layout classes and unnamed bit-fieldsSection: 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 in Clause 11 [class] paragraph 7 do not account for the fact that a class containing an unnamed bit-field has associated storage.

See also issue 1813 for a related question about standard-layout classes.

Proposed resolution (June, 2014):

This issue is resolved by the resolution of issue 1813.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4