Message214635
Yes, §6.7.2.1:
A bit-field declaration with no declarator, but only a colon and a width, indicates an unnamed bit-field.
With a footnote:
105) An unnamed bit-field structure member is useful for padding to conform to externally imposed layouts.
Unnamed struct members are valid, too:
There may be unnamed padding at the end of a structure or union. |
|
Date |
User |
Action |
Args |
2014-03-23 21:11:39 | skrah | set | recipients:
+ skrah, pitrou, vstinner, serhiy.storchaka, schwab |
2014-03-23 21:11:39 | skrah | set | messageid: <1395609099.68.0.376324455229.issue19537@psf.upfronthosting.co.za> |
2014-03-23 21:11:39 | skrah | link | issue19537 messages |
2014-03-23 21:11:39 | skrah | create | |
|