3 ms·
I had an "ohh wow" moment when I realized that the keyword typedef is a storage class. This means it can go anywhere static can go. It just means no variable is
by andrewchambers 11y ago
I had an "ohh wow" moment when I realized that the keyword typedef is a storage class. This means it can go anywhere static can go. It just means no variable is introduced, only a type name, otherwise it is the same syntax as declarations.
- evincarofautumn 11y agoSame. Which, for those unfamiliar, makes these declarations perfectly valid: size_t typedef length; struct { int x, y; } typedef foo, *pfoo;