|
|
|
|
|
by barbegal
2249 days ago
|
|
Where does the spec say that it does that? As far as I can tell C only allows objects to have sizes in whole number of bytes, and that includes booleans. Although a _Bool type can be used for a bit field (having size of 1 bit) but you can't use sizeof with a bit field. |
|