From: tmoran@acm.org
Subject: Re: Subprogram Pointer in a Generic
Date: Thu, 17 Apr 2003 04:17:18 GMT
Date: 2003-04-17T04:17:18+00:00 [thread overview]
Message-ID: <iVpna.242573$Zo.49035@sccrnsc03> (raw)
In-Reply-To: slrnb9s6tn.hvi.sam@willow.dyn.rfc1149.net
>(1) The absence of such a rule would prevent an implementation from
> implementing efficiently shared generic packages:
Would it be possible to do code sharing at all?
type Young is range 1 .. 20;
type Old is range 21 .. 120;
package a is new generic_package(Young);
package b is new generic_package(Old);
and inside generic_package you make a call on
Register(Local_Procedure'access);
What is registered - the instantiation of Local_Procedure that deals
with Young or the one that deals with Old? Extra information needs to
be passed along, but Register expects just a simple pointer.
next prev parent reply other threads:[~2003-04-17 4:17 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-17 1:53 Subprogram Pointer in a Generic Charles H. Sampson
2003-04-17 2:54 ` James S. Rogers
2003-04-17 3:15 ` Samuel Tardieu
2003-04-17 5:27 ` tmoran
2003-04-17 3:12 ` Samuel Tardieu
2003-04-17 4:17 ` tmoran [this message]
2003-04-17 20:24 ` Robert A Duff
2003-04-18 2:59 ` Charles H. Sampson
2003-04-22 16:34 ` Warren W. Gay VE3WWG
2003-04-22 21:17 ` Robert A Duff
2003-04-23 20:46 ` Warren W. Gay VE3WWG
2003-04-17 19:41 ` Matthew Heaney
2003-04-17 20:39 ` Robert A Duff
2003-04-17 23:14 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox