Guest User

Untitled

a guest
Mar 21st, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. class A
  2. {
  3. union {
  4. unsigned int _dummy_drc[2];
  5. struct {
  6. unsigned int _trans_drc :1;
  7. unsigned int _cap_drc :1;
  8. unsigned int _fanout_drc :1;
  9. unsigned int _trans_drc_index :10;
  10. unsigned int _cap_drc_index :10;
  11. unsigned int _fanout_drc_index :10;
  12. };
  13. };
  14. };
  15.  
  16. |1 |2 |3 |4 |5 |p |6 |p field position, p stands for padding
  17. |1 |1 |1 |10|10|8 |10|22 field bits
  18. |1 |2 |3 |13|23|32|10|32 cumulative bits since start of object
  19. |1 |2 underlying integer position
Add Comment
Please, Sign In to add comment