Title
cv-qualified bit-fields
Status
dr
Section
11.4.10 [class.bit]
Submitter
Aaron Ballman

Created on 2021-09-15.00:00:00 last changed 5 months ago

Messages

Date: 2021-12-15.00:00:00

Proposed resolution (December, 2021):

A bit-field shall have integral or (possibly cv-qualified) enumeration type
Date: 2021-12-15.00:00:00

Notes from the December, 2021 meeting:

As of N4901, there is no longer an issue regarding the integral types; 6.8.2 [basic.fundamental] paragraph 11 says,

The character types, bool, the signed and unsigned integer types, and cv-qualified versions (6.8.4 [basic.type.qualifier]) thereof, are collectively termed integral types.
Date: 2022-02-15.00:00:00

[Accepted at the February, 2022 meeting.]

According to 11.4.10 [class.bit] paragraph 1,

A bit-field shall have integral or enumeration type

This apparently does not allow for cv-qualification in a bit-field type.

History
Date User Action Args
2022-02-15 00:00:00adminsetstatus: ready -> dr
2022-01-06 00:00:00adminsetmessages: + msg6603
2022-01-06 00:00:00adminsetmessages: + msg6602
2021-09-15 00:00:00admincreate