Question about typdef/struct
| Zhuge (102) | |||
How is
typedef struct Name { /* ... */ } Name; special?To me it seems like writing something like
typedef Type Type; which seems pointless. | |||
| Duoas (1515) | |||
| You are correct. The typical reason to do that is to handle self-referential cases:
| |||
This topic is archived - New replies not allowed.
