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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,80435549e92d4e0c X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!g47g2000cwa.googlegroups.com!not-for-mail From: "Ludovic Brenta" Newsgroups: comp.lang.ada Subject: Re: Charles container library usage examples Date: 6 Sep 2005 00:26:31 -0700 Organization: http://groups.google.com Message-ID: <1125991591.402272.176230@g47g2000cwa.googlegroups.com> References: <87mzmssqbq.fsf@ludovic-brenta.org> <87psrmrdfz.fsf@ludovic-brenta.org> NNTP-Posting-Host: 212.190.145.10 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1125991596 16433 127.0.0.1 (6 Sep 2005 07:26:36 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 6 Sep 2005 07:26:36 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; SunOS sun4u; fr-FR; rv:1.6) Gecko/20040116,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 SEVPXS01 Complaints-To: groups-abuse@google.com Injection-Info: g47g2000cwa.googlegroups.com; posting-host=212.190.145.10; posting-account=ZjNXewwAAADyBPkwI57_UcX8yKfXWOss Xref: g2news1.google.com comp.lang.ada:4465 Date: 2005-09-06T00:26:31-07:00 List-Id: David Trudgett a =E9crit : > >> 2. Did I need the separate file "corner_list.ads"? I tried to put it > >> in "side_corners_map.ads", but the compiler didn't seem to like > >> that idea. > > > > Yes, you need one because Side_Corner_Maps must be instantiated at > > "library level". This prevents dangling references to nested types. > > OK ;-) I'll take your word for it... ;-) Somebody else might elaborate on how Ada 200y is making this rule more subtle, so that library level instantiations are no longer necessary in some cases; I'm actually curious to better understand this change. Anyone? --=20 Ludovic Brenta.