3 ms·
The first example seems wrong, instead of `struct sub { ... };` what is meant is `struct { ... } sub;`
by remram 5y ago
The first example seems wrong, instead of `struct sub { ... };` what is meant is `struct { ... } sub;`
- siebenmann 5y agoYou're right; thanks for noticing and I've updated the first example. My C is a bit rusty these days and I didn't check it with a compiler the way I should have. (I'm the author of the linked-to article.)