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.2 required=5.0 tests=BAYES_00,FROM_WORDY, LOTS_OF_MONEY,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d0475d4d02ffd8d9 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.rcn.net!news.rcn.net.POSTED!not-for-mail NNTP-Posting-Date: Sun, 01 Oct 2006 17:33:41 -0500 Reply-To: "Frank J. Lhota" From: "Frank J. Lhota" Newsgroups: comp.lang.ada References: <1fo8mdcya4lc1.1xzuim6fz5a6a.dlg@40tude.net> Subject: Re: To collection (GNAT bug) Date: Sun, 1 Oct 2006 18:33:40 -0400 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-RFC2646: Format=Flowed; Response Message-ID: NNTP-Posting-Host: 209.6.187.224 X-Trace: sv3-XRzb377QO64bMZAKVPDPRMky4H559XbcMVlNgH4lKPIXztxb6JMxDlQwHNqIfCY2LX0H9spMHgy534X!6f9JqubX+h5QOOR93eDkTvB16CCqqyHgEdhiUMyAyHuW09g4VFzilD9hEzpeyV4cvrClrc/bxDSV!oQ== X-Complaints-To: abuse@rcn.net X-DMCA-Complaints-To: abuse@rcn.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news2.google.com comp.lang.ada:6830 Date: 2006-10-01T18:33:40-04:00 List-Id: "Jeffrey R. Carter" wrote in message news:OAUTg.1003007$084.622552@attbi_s22... > Dmitry A. Kazakov wrote: >> Address_To_Access_Conversions serves a different purpose. It declares a >> new >> access type, moreover it is a general access type. > > That it defines its own access type is a design error, I agree, but not a > serious one. Rather than define your own access type, you use the one > defined by the instance of the package. The reason why Address_To_Access_Conversions declares its own access type is to make sure that the access values used in these conversions are not "fat pointers". In other words, this design was chosen precisely to avoid the sort of problems exhibited in Test_String_Ptr.