From: Tucker Taft <stt@averstar.com>
Subject: Re: Calling through function pointer--syntax question
Date: Wed, 06 Jun 2001 12:00:30 -0400
Date: 2001-06-06T16:00:31+00:00 [thread overview]
Message-ID: <3B1E539E.CF306AC6@averstar.com> (raw)
In-Reply-To: 9fj5nm$sg0$1@news.netmar.com
adam@irvine.com wrote:
>
> Is the last procedure call in the program ambiguous?
No. Even if func_ptr had a default expression for
its "param" it would still be unambiguous, because
you need an explicit ".all" to call through a function
pointer when there are no explicit parameters passed.
An implicit ".all" is provided prior to "(" and ".<component>"
but not in other places.
>
> If this is a legal program, what should it do?
This calls the "P" that takes a func_ptr.
>
> -- thanks, Adam
>
> ...
--
-Tucker Taft stt@avercom.net http://www.avercom.net
Chief Technology Officer, AverCom Corporation (A Titan Company)
Burlington, MA USA (AverCom was formerly the Commercial Division of AverStar:
http://www.averstar.com/~stt)
next prev parent reply other threads:[~2001-06-06 16:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-05 17:43 Calling through function pointer--syntax question adam
2001-06-05 19:39 ` tmoran
2001-06-06 16:17 ` Adam Beneschan
2001-06-06 16:00 ` Tucker Taft [this message]
2001-06-06 22:06 ` Adam Beneschan
2001-06-07 1:22 ` Jeffrey Carter
2001-06-08 21:34 ` Adam Beneschan
2001-06-09 6:29 ` Simon Wright
2001-06-11 13:08 ` Philip Anderson
2001-06-11 17:34 ` Tucker Taft
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox