2 ms·
They're all key parts. Note that the sizeof is there to avoid polluting the namespace. Otherwise you'd have to declare something that used that anonymous stru
by ajross 15y ago
They're all key parts. Note that the sizeof is there to avoid polluting the namespace. Otherwise you'd have to declare something that used that anonymous struct. And likewise the parentheses so it can be used in all contexts in an expression. Every byte of that macro is needed. It's pretty elegant, honestly.
- nash 15y agoThe sizeof is there so it returns a value so it can be used as an expression. See the comment above the code (reproduced in the original question).