From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Heterogenous array
Date: Mon, 1 Mar 2004 17:29:02 -0600
Date: 2004-03-01T17:29:02-06:00 [thread overview]
Message-ID: <1047hr0i1hgc4d3@corp.supernews.com> (raw)
In-Reply-To: JoO0c.84716$dP1.234457@newsc.telia.net
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 842 bytes --]
"Bj�rn Persson" <spam-away@nowhere.nil> wrote in message
news:JoO0c.84716$dP1.234457@newsc.telia.net...
> Thank you, Steve and Robert! I'm afraid I still don't understand why
> Parameter_Wrapper would be necessary, since Steve's solution seems to
> work equally well - at least in Gnat 3.3.2. On the other hand I don't
> understand why a default value for the discriminant would make such a
> difference - but it does.
It's not necessary in Ada 95 unless the components are aliased. I think
Robert uses too many aliased things, and thus has their restrictions on the
brain. :-)
(There is some hope that this restriction will be lifted in Ada 200Y,
because it doesn't really fix anything, and we're likely to adopt a
different solution to the problem that it was supposed to fix. But that's
TBD.)
Randy.
next prev parent reply other threads:[~2004-03-01 23:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-01 1:53 Heterogenous array Björn Persson
2004-03-01 2:22 ` Steve
2004-03-01 16:48 ` Robert I. Eachus
2004-03-01 22:01 ` Björn Persson
2004-03-01 23:29 ` Randy Brukardt [this message]
2004-03-02 2:56 ` Robert I. Eachus
2004-03-02 3:13 ` Steve
2004-03-02 22:29 ` Björn Persson
2004-03-03 9:43 ` Jean-Pierre Rosen
2004-03-03 14:44 ` Björn Persson
2004-03-03 17:52 ` Jean-Pierre Rosen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox