comp.lang.ada
 help / color / mirror / Atom feed
From: christoph.grein@eurocopter.com
Subject: Re: Protected types and visibility of their internals
Date: Wed, 9 Jul 2008 00:53:04 -0700 (PDT)
Date: 2008-07-09T00:53:04-07:00	[thread overview]
Message-ID: <a8610d83-d260-4998-897b-8a9fd671fcf8@a70g2000hsh.googlegroups.com> (raw)
In-Reply-To: wccod5873rm.fsf@shell01.TheWorld.com

> What is the rationale for this?

http://www.adaic.com/standards/95rat/RAThtml/rat95-p2-9.html

Quote from the end of 9.1.2:

A minor point is that the type Item_Array has to be declared outside
the protected type. This is because type declarations are not allowed
inside a protected type which generally follows the same rules as
records. Allowing types within types would have introduced additional
complexity with little benefit.



  reply	other threads:[~2008-07-09  7:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-08  9:57 Protected types and visibility of their internals Maciej Sobczak
2008-07-08 12:52 ` Georg Bauhaus
2008-07-08 16:13 ` Robert A Duff
2008-07-09  7:53   ` christoph.grein [this message]
2008-07-08 21:03 ` Randy Brukardt
2008-07-10 21:49   ` Maciej Sobczak
2008-07-09  5:04 ` christoph.grein
2008-07-09 13:44   ` Maciej Sobczak
2008-07-09 15:12   ` Adam Beneschan
2008-07-09 22:19 ` Stephen Leake
2008-07-09 22:38   ` Adam Beneschan
2008-07-10  0:18     ` Randy Brukardt
2008-07-10  0:18     ` Randy Brukardt
2008-07-09 23:22 ` jimmaureenrogers
replies disabled

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