comp.lang.ada
 help / color / mirror / Atom feed
From: "Martin Dowie" <martin.dowie@btopenworld.com>
Subject: Re: Task discriminants
Date: Fri, 21 May 2004 22:05:17 +0000 (UTC)
Date: 2004-05-21T22:05:17+00:00	[thread overview]
Message-ID: <c8luet$b8k$1@titan.btinternet.com> (raw)
In-Reply-To: YIadnaE4uYUXxjPd4p2dnA@megapath.net

"Randy Brukardt" <randy@rrsoftware.com> wrote in message
news:YIadnaE4uYUXxjPd4p2dnA@megapath.net...
> > Difinately one for the language lawyers but _in_the_real_world_ I've yet
> to
> > come across a compiler that did anything other than the 'sensible'
thing.
> >
> > Randy are there? :-)
>
> The RM says "arbitrary order" for initializing subcomponents of object
> declarations (see 3.3.1(20) - this is the "fourth step"). So you can't
> depend on it.
>
> OTOH, it's fairly hard to imagine why an implementation would do anything
> other than use a loop to do it, which would of course give the right
answer.
> So practically, it probably would work right.

For once I'd actually spotted that! But when ever I try and quote the RM
there is always some other section that proved me wrong! ;-)






  reply	other threads:[~2004-05-21 22:05 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-20 14:47 Task discriminants Dave Levy
2004-05-20 17:17 ` David C. Hoos
2004-05-20 18:37   ` Martin Dowie
2004-05-21  0:39     ` Georg Bauhaus
2004-05-21  1:04       ` Jeffrey Carter
2004-05-21  9:43     ` Phil Slater
2004-05-21 12:43       ` Martin Dowie
2004-05-21 19:42         ` Randy Brukardt
2004-05-21 22:05           ` Martin Dowie [this message]
     [not found]           ` <c8luk4$29b$1@hercules.btinternet.com>
2004-05-21 23:16             ` Randy Brukardt
2004-05-22  7:55               ` Martin Dowie
2004-05-24 21:34                 ` Randy Brukardt
2004-05-25  5:48                   ` Martin Dowie
2004-05-25 20:25                     ` Randy Brukardt
2004-05-25 22:40                       ` Martin Dowie
2004-05-20 17:30 ` Martin Krischik
2004-05-21  7:57   ` Dmitry A. Kazakov
2004-06-04 12:59     ` Andersen Jacob Sparre
2004-05-21 16:46   ` Robert I. Eachus
2004-05-22  7:54     ` Martin Dowie
2004-05-22 16:18     ` Pascal Obry
2004-05-24 21:36       ` Randy Brukardt
2004-05-25 21:22       ` Robert I. Eachus
2004-06-04 23:26 ` Nick Roberts
2004-06-07 22:12   ` Karen
replies disabled

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