From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: Generics & Elaboration Order
Date: 2000/05/09
Date: 2000-05-09T00:00:00+00:00 [thread overview]
Message-ID: <8f9404$1j4$1@nnrp1.deja.com> (raw)
In-Reply-To: 8F2E930FAandrewloguecdcgycom@142.77.1.194
In article <8F2E930FAandrewloguecdcgycom@142.77.1.194>,
nospam.andrew.logue@cdcgy.com (Andrew Logue) wrote:
> i.e. does the code in package body execute before the generic
> is instantiated?
No, certainly not
Generally the linear elaboration semantics of Ada mean that
an expression is evaluated when you come to it. There are
very few exceptions to this rule (default expressions in
specs are one case, generic templates are the other).
Sent via Deja.com http://www.deja.com/
Before you buy.
next prev parent reply other threads:[~2000-05-09 0:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-08 0:00 Generics & Elaboration Order Andrew Logue
2000-05-09 0:00 ` Robert Dewar [this message]
2000-05-18 0:00 ` ANTHONY GAIR
2000-05-18 0:00 ` Robert A Duff
2000-05-19 0:00 ` ANTHONY GAIR
2000-05-21 0:00 ` Robert Dewar
2000-05-09 0:00 ` Robert A Duff
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox