comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Declaration of private type Containers
Date: Sat, 31 May 2008 00:28:09 -0500
Date: 2008-05-31T00:28:09-05:00	[thread overview]
Message-ID: <g1qnlp$snk$1@jacob-sparre.dk> (raw)
In-Reply-To: 9hro1g.ni4.ln@hunter.axlog.fr

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 862 bytes --]

"Jean-Pierre Rosen" <rosen@adalog.fr> wrote in message 
news:9hro1g.ni4.ln@hunter.axlog.fr...
> alexander.kleppe@web.de a �crit :
...
>> GNAT compiler says, this is a "premature use of private type", which I
>> accept.
> Glad to hear that you accept it. The ARG tried hard to allow something 
> like this, and eventually gave up under the pressure of an exponentially 
> growing mountain of cans of worms...

I'm still of the opinion that we (the ARG) gave up too soon on this problem. 
In any case, it's still on the ARG's radar (see AI05-0074-1 and AI05-0074-2) 
although looking at extensions is not a high priority right now.

In any case, it isn't allowed in any version of Ada. You'll have to use 
another (less elegant) solution, such as the child package or reexported 
operations suggested by others.

                             Randy Brukardt.





  parent reply	other threads:[~2008-05-31  5:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-30 11:49 Declaration of private type Containers alexander.kleppe
2008-05-30 12:05 ` Dmitry A. Kazakov
2008-05-30 12:21 ` Jean-Pierre Rosen
2008-05-30 13:59   ` alexander.kleppe
2008-05-30 14:25     ` Jean-Pierre Rosen
2008-05-30 16:00     ` Adam Beneschan
2008-05-31  2:04     ` Steve
2008-05-31  5:28   ` Randy Brukardt [this message]
2008-05-30 20:27 ` Matthew Heaney
2008-06-04 15:40   ` alexander.kleppe
replies disabled

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