From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9aa4352fa83d37dc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-01 15:31:46 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!nnx.oleane.net!oleane!freenix!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Marius Amado Alves Newsgroups: comp.lang.ada Subject: Re: library level required or not? Date: Mon, 1 Mar 2004 23:32:43 +0000 Organization: Cuivre, Argent, Or Message-ID: References: <200403011717.22528.maa@liacc.up.pt> NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: melchior.cuivre.fr.eu.org 1078183756 25143 212.85.156.195 (1 Mar 2004 23:29:16 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Mon, 1 Mar 2004 23:29:16 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: X-Mailer: KMail [version 1.3.2] In-Reply-To: X-OriginalArrivalTime: 01 Mar 2004 23:28:48.0518 (UTC) FILETIME=[F2A74260:01C3FFE4] X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:5991 Date: 2004-03-01T23:32:43+00:00 > > If you look at the GNAT sources for example, you'll find that > > Unbounded_String is controlled. And yet you can declare an unbounded > > string inside a 'main' program. Try pulling that out with your own > > controlled type. > > ? > > There is a difference between instantiating the generic, which amounts > to defining a new type derived from Controlled, and declaring an > instance of a type You're right, I mixed things up... a bit. > .. is this 3.9.1(3)? I think so, that it is that clause that ultimately obliges controlled objects to be defined at library level. So what's the deal with Unbounded_String? (ISNBAL too, obvioulsy.)