From: Marius Amado Alves <maa@liacc.up.pt>
To: comp.lang.ada@ada-france.org
Subject: Re: library level required or not?
Date: Mon, 1 Mar 2004 18:49:47 +0000
Date: 2004-03-01T18:49:47+00:00 [thread overview]
Message-ID: <mailman.49.1078166316.327.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <200403011717.22528.maa@liacc.up.pt>
Myself:
> I have in my notes that an object, of a type declared in package Ada or
> descendants, is not required to be defined at library level, even if the
> type is controlled. (I know I can declare unbounded strings, which are
> clearly controlled, in a 'main' procedure.)
>
> I vaguely recall deriving this rule from the RM, but now I cannot find the
> clause. Is the rule true? By what clause?
Ok, I found Ada Issue 115, which clarifies that "a language-defined generic
package may be instantiated at any nesting depth."
I'm still in the dark regarding unbounded strings though, as
Ada.Strings.Unbounded is not generic.
next parent reply other threads:[~2004-03-01 18:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200403011717.22528.maa@liacc.up.pt>
2004-03-01 18:49 ` Marius Amado Alves [this message]
2004-03-01 18:41 ` library level required or not? Preben Randhol
2004-03-01 19:21 ` Marius Amado Alves
2004-03-01 20:17 ` Simon Wright
2004-03-01 23:32 ` Marius Amado Alves
2004-03-02 2:36 ` Robert I. Eachus
2004-03-01 17:17 Marius Amado Alves
2004-03-01 23:37 ` Randy Brukardt
2004-03-02 0:21 ` Marius Amado Alves
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox