comp.lang.ada
 help / color / mirror / Atom feed
From: Richard Riehle <richard@adaworks.com>
Subject: Re: Elaboration of nested generic package.
Date: Thu, 17 Jul 2003 08:54:31 -0700
Date: 2003-07-17T15:51:12+00:00	[thread overview]
Message-ID: <3F16C6B7.8B1C19B7@adaworks.com> (raw)
In-Reply-To: vhc16kc89vmt75@corp.supernews.com

Randy Brukardt wrote:

>
> ... the generic body is always elaborated at the point of the instantiation
> ...

which turned out to be a clever trick, under Ada 83, for ensuring that
a package would be elaborated exactly when you needed it to be. We
would create generic packages with no parameters, with them, and
then instantiate them in any declaration part of a program, even in
a declare block.  Of course, this does raise an efficiency issue, but
it also solve an elaborartion issue.

Richard Riehle




  reply	other threads:[~2003-07-17 15:54 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-02  4:13 Elaboration of nested generic package christoph.grein
2003-07-08  3:05 ` Don Westermeyer
2003-07-08 17:46   ` Matthew Heaney
2003-07-10  1:10     ` Don Westermeyer
2003-07-10  1:35       ` Robert I. Eachus
2003-07-10  4:51         ` Robert I. Eachus
2003-07-10  6:58           ` Jean-Pierre Rosen
2003-07-10 15:08             ` Robert I. Eachus
2003-07-11 21:26             ` Robert A Duff
2003-07-10 14:12         ` Matthew Heaney
2003-07-10 15:39           ` Robert I. Eachus
2003-07-11 21:41           ` Robert A Duff
2003-07-14 18:35             ` Matthew Heaney
2003-07-15 17:19               ` Randy Brukardt
2003-07-16 15:24                 ` Matthew Heaney
2003-07-17  2:08                   ` Randy Brukardt
2003-07-17 15:54                     ` Richard Riehle [this message]
2003-07-10 15:03         ` Don Westermeyer
2003-07-10 15:45       ` Matthew Heaney
  -- strict thread matches above, loose matches on Subject: below --
2003-07-09  5:21 christoph.grein
2003-07-01 20:14 Don Westermeyer
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox