C++ Programming - Unnamed Bit-Field
An unnamed bit field is used for padding to conform to external imposed layouts. Unnamed bit-field with a width of zero specifies aloignment of the next bit field at an allocation unit boundary.
struct becks {
...
int :3 //three bit field
...
}
Labels: C++
About this entry
You’re currently reading “
- Published:
- 1:53 am
- by -
0 Comments (Post a Comment)