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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9ce5fb49dc74582f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: generic question Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <1163959439.299036.129940@e3g2000cwe.googlegroups.com> <87mz6nnt4v.fsf@ludovic-brenta.org> <20061119202320.19149a2f@cube.tz.axivion.com> <4560D5BE.5060508@obry.net> <1164059458.442430.110710@j44g2000cwa.googlegroups.com> <4562a51a$0$27404$ba4acef3@news.orange.fr> <4sfrbnFv4ibiU1@mid.individual.net> <1164124046.512943.224790@m7g2000cwm.googlegroups.com> <456333E3.2030603@obry.net> <1164132941.922931.274660@e3g2000cwe.googlegroups.com> Date: Tue, 21 Nov 2006 19:28:59 +0100 Message-ID: <1lr3i83ic7wmh$.105uxx10skg03.dlg@40tude.net> NNTP-Posting-Date: 21 Nov 2006 19:28:52 CET NNTP-Posting-Host: 6cd8c499.newsspool2.arcor-online.net X-Trace: DXC==SPmKQ^oRY5L2C_`koXfC5A9EHlD;3Yc24Fo<]lROoR1Fl8W>\BH3Y26ZJFkn4Aeo1DNcfSJ;bb[5IRnRBaCd?3YK6:VZ6_61XED]>RD[F0 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:7623 Date: 2006-11-21T19:28:52+01:00 List-Id: On 21 Nov 2006 10:15:42 -0800, Matthew Heaney wrote: > So that conversions towards the root of a tagged type hierarchy don't > require explicit type conversions. True, but it is only because there is no subtypes of access types like: type T is tagged ...; type T_Ptr is access T'Class; type S is new T with ...; subtype S_Ptr is T_Ptr in S'Class; In the present design three uncorrelated things are bundled together in anonymous access types: 1. subtypes hierarchy inherited from the target types hierarchy 2. general pool 3. controlledness in primitive subprograms In Ada 95 it was even four: 4. not null -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de