|
-
June 26th, 2002, 09:43 PM
#1
How does VC parse typedef void(*FUNC)();
typedef allow us to define an alias name for a type.
For simple typedef statment such as
typedef int A;
the implemetation is straight forward-- just subsitute A as int;
but when it comes to more complex form,such as function pointer type,
typedef void (*FUNC)();
defines FUNC as a void (*)() type. How does a compiler implement this?
Every day is a new day.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|