Path: utzoo!telly!ddsw1!mcdchg!rutgers!labrea!decwrl!armada!becher From: becher@armada.UUCP (Jonathan D. Becher) Newsgroups: gnu.g++.bug Subject: Re: G++ doesn't handle pointers to functions Message-ID: <69@armada.UUCP> Date: 11 Oct 88 22:18:04 GMT References: <68@armada.UUCP> Organization: Life, etc. Lines: 24 In article <68@armada.UUCP>, I write: > It seems as if g++ doesn't understand formal parameters that > are pointers to functions. In my previous posting, you can get around this error by using a typedef. For some reason, this: > doThis(int (*f)()) > { > f(); > } doesn't work but this does: typedef int (*ptrFunc)(); doThis(ptrFunc f) { f(); } In any event, it's still a bug. ===== Jon Becher becher@cs.duke.edu -OR- argosy!becher@decwrl.dec.com "I go to parties, some times until four. It's hard to leave when you can't find the door."