I've heard quite a bit about this line: void typedef name.
Compiles well:
void typedef name;
int main(){}
What does void even mean? Doesn't it just mean that something is just void? How can it be used before a keyword like typedef? Isn't it invalid use of void? It seems to be the same as doing:
typedef void name;
And makes name an alias for void.
Does the compiler rearrange typedef and void?
I thought void is only usable with functions:
void func();
But for what things can void be used and what does it mean? And how does void typedef name work even though it's not a function declaration?