Skip to content

Commit 8528466

Browse files
author
Dawn Perchik
committed
CWG2229 Volatile unnamed bit-fields
1 parent 48f68a4 commit 8528466

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/classes.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,6 +1330,7 @@
13301330
A declaration for a bit-field that omits the \grammarterm{identifier}
13311331
declares an \defn{unnamed bit-field}. Unnamed bit-fields are not
13321332
members and cannot be initialized.
1333+
An unnamed bit-field shall not be declared with a cv-qualified type.
13331334
\begin{note}
13341335
An unnamed bit-field is useful for padding to conform to
13351336
externally-imposed layouts.

0 commit comments

Comments
 (0)