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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d402e2c741db0d0 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-10 10:40:35 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Language lawyer question: Equality on 'Access attributes Date: 10 Jan 2004 13:40:31 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <4LKdnRRNyv6AlmCiRVn-ig@comcast.com> <6bSdnYBKy_diPGCi4p2dnA@gbronline.com> <5a6dnSDERdpetGOi4p2dnA@gbronline.com> NNTP-Posting-Host: pip1-5.std.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1073760031 13602 192.74.137.185 (10 Jan 2004 18:40:31 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Sat, 10 Jan 2004 18:40:31 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:4314 Date: 2004-01-10T13:40:31-05:00 List-Id: "Dmitry A. Kazakov" writes: > Just summarizing... > > Your point is that the compiler should consider all visible types and all > visible "=" to crunch X'Access = Y'Access. Then X'Access = Y'Access is > illegal if there is no visible named access types. Then provided: > > type A is tagged null record; > type A_Ptr is access all A; > function "=" (Left : A_Ptr; Right : access A) return Boolean; > X : aliased A; > Y : aliased A; > > X'Access = Y'Access -- is ambiguous I believe the above is correct. - Bob