TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Bill Birrell
from: Neil Heller
date: 2004-05-05 13:38:00
subject: Function Pointer Redux

> Bill Birrell wrote in a message to Neil Heller:

> Given the following line of code:

> typedef void * (*x) (void *)

> What does this statement declare?

> What is x?

>     Hi Neil,

BB>         There is a little utility called cdecl.exe that
BB> allegedly answers precisely this type of question. It reports
BB> that one as a syntax error. 

BB>     Do you want a copy?

A copy of the software or of the report?

Seriously though, I didn't know that typedef(ing) a reserved word was 
kosher (at least that's what I think's going on - redefining a pointer 
to void.  Is this the way you read it, or am I way off base again?

þ CMPQwk 1.42 999

--- Maximus/2 3.01
* Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000)
SEEN-BY: 633/267 270
@PATH: 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.