Skip to content

Commit 45b8ed7

Browse files
committed
CWG2511 cv-qualified bit-fields
1 parent b2e5b8f commit 45b8ed7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎source/classes.tex‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2816,7 +2816,7 @@
28162816
to the entity being declared.
28172817
A bit-field shall not be a static member.
28182818
\indextext{bit-field!type of}%
2819-
A bit-field shall have integral or enumeration type;
2819+
A bit-field shall have integral or (possibly cv-qualified) enumeration type;
28202820
the bit-field semantic property is not part of the type of the class member.
28212821
The \grammarterm{constant-expression} shall be an integral constant expression
28222822
with a value greater than or equal to zero and

0 commit comments

Comments
 (0)