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,dad94612ff745427 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.megapath.net!news.megapath.net.POSTED!not-for-mail NNTP-Posting-Date: Fri, 12 May 2006 13:25:28 -0500 From: "Randy Brukardt" Newsgroups: comp.lang.ada References: <1147252198.138173.203910@j73g2000cwa.googlegroups.com> <44623869$0$4504$9b4e6d93@newsread2.arcor-online.net> <87d5elk8e9.fsf@ludovic-brenta.org> <13byov3p0dqhk.yglz3nh5rpb8$.dlg@40tude.net> <2l9uhyhkrquy.1rbhnqk1k2u52$.dlg@40tude.net> <1147425891.9012.10.camel@localhost.localdomain> <1dwuemv53sbgw$.1pgg57qa5hsdr.dlg@40tude.net> Subject: Re: Instantiating private types with discriminants? Date: Fri, 12 May 2006 13:25:51 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Message-ID: <4sOdnbBYM_-FTvnZRVn-uA@megapath.net> NNTP-Posting-Host: 64.32.209.38 X-Trace: sv3-fkh00YT6/aJ7rk8KXxynXbdlpecD/s3N0oFEIzIwaC9l1DPDG/2q8PTqjHogJRQlTUKg2hwBe+XHiE7!dzL60EYup6wUVERg90IVOwkwhLa6VNviBWDP95JTRJmzhHeKDrws2z7sjNMbrWTuzlSFEhkViKid X-Complaints-To: abuse@megapath.net X-DMCA-Complaints-To: abuse@megapath.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:4223 Date: 2006-05-12T13:25:51-05:00 List-Id: "Dmitry A. Kazakov" wrote in message news:1dwuemv53sbgw$.1pgg57qa5hsdr.dlg@40tude.net... ... > BTW, if pointer were a subtype, then you wouldn't need hard-wired > dispatching on "access T", because the pointer will simply inherit > primitive operations and thus dispatch. I vaguely remember that Ada 9X did it that way at one point. It didn't work out for some reason (too many preference rules needed?). Randy.