4 ms·
So `unsigned flag:1`?
by shultays 4y ago
So `unsigned flag:1`?
- infradig 4y agoI just use 'bool flag:1' in C.
- ok123456 4y agoAfter you set all the pragmas or attributes to not add any additional padding/alignment, and that you really, really mean it. Maybe add a few static asserts so you know at compile time if you got the size right. These are not standard, so you need some preprocessor magic to choose the right thing. And so on...