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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,d67ca8d922a33c8a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-01 15:30:15 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!sn-xit-03!sn-xit-04!sn-xit-06!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Heterogenous array Date: Mon, 1 Mar 2004 17:29:02 -0600 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <1047hr0i1hgc4d3@corp.supernews.com> References: X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:5990 Date: 2004-03-01T17:29:02-06:00 List-Id: "Bj�rn Persson" wrote in message news:JoO0c.84716$dP1.234457@newsc.telia.net... > Thank you, Steve and Robert! I'm afraid I still don't understand why > Parameter_Wrapper would be necessary, since Steve's solution seems to > work equally well - at least in Gnat 3.3.2. On the other hand I don't > understand why a default value for the discriminant would make such a > difference - but it does. It's not necessary in Ada 95 unless the components are aliased. I think Robert uses too many aliased things, and thus has their restrictions on the brain. :-) (There is some hope that this restriction will be lifted in Ada 200Y, because it doesn't really fix anything, and we're likely to adopt a different solution to the problem that it was supposed to fix. But that's TBD.) Randy.