comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Ada 2005 box (<>) rules in default values
Date: Tue, 17 Jan 2006 14:29:01 -0600
Date: 2006-01-17T14:29:01-06:00	[thread overview]
Message-ID: <Zc2dnXrxMa7pz1DeRVn-uw@megapath.net> (raw)
In-Reply-To: 43CCAB76.6050907@mailinator.com

"Alex R. Mosteo" <devnull@mailinator.com> wrote in message
news:43CCAB76.6050907@mailinator.com...
...
>  From these paragraphs I understand that Gnat is not implementing
> correctly that feature for the moment. So I ask if you knowledgeable lot
> agree with my impression. (A pointer to the amendment dealing with this
> will also be welcome).

I agree; the default value should be used here. The reference you want is:

http://www.adaic.com/standards/05rm/html/RM-4-3-1.html

for record aggregates, and

http://www.adaic.com/standards/05rm/html/RM-4-3-3.html

for array aggregates. (Keep in mind that this "consolidated" RM is an
unofficial construction, and if it has any differences with the Amendment
document, the Amendment has the correct language. But the Amendment is
pretty hard to make sense of, as it is just a list of changed paragraphs.
Thank Ada Europe for sponsoring the development of the "consolidated" RM.)

                        Randy Brukardt





  parent reply	other threads:[~2006-01-17 20:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-17  8:31 Ada 2005 box (<>) rules in default values Alex R. Mosteo
2006-01-17  9:35 ` Martin Dowie
2006-01-17 13:35 ` ME
2006-01-17 17:19   ` Pascal Obry
2006-01-17 20:25     ` Randy Brukardt
2006-01-17 20:29 ` Randy Brukardt [this message]
2006-01-17 21:15 ` Björn Persson
2006-01-18 11:04   ` Alex R. Mosteo
2006-01-18 14:09     ` Jean-Pierre Rosen
2006-01-18 15:59       ` Alex R. Mosteo
2006-01-18 21:54         ` Randy Brukardt
2006-01-19  9:19           ` Alex R. Mosteo
2006-01-18 21:32     ` Björn Persson
replies disabled

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