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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,4ee25b9870acbe04 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!xlned.com!feeder3.xlned.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Use of abstract tagged types without access types Date: Sun, 12 Jun 2011 07:51:11 +0200 Organization: Ada @ Home Message-ID: References: <661061d7-cc2a-45ff-b7e2-28b8f885cd02@n10g2000vby.googlegroups.com> NNTP-Posting-Host: f5R0gSm2zBSnDCiIl1SGIw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/11.11 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: g2news1.google.com comp.lang.ada:19768 Date: 2011-06-12T07:51:11+02:00 List-Id: Le Thu, 09 Jun 2011 19:44:05 +0200, Prof. Dr. Carl Weierstrass = a =C3=A9crit: > type Parent_Type is new Ada.Finalization.Controlled with record > Child : Child_Type'Class; > end record; That looks a strange design to my eyes, just like if you were to reinven= t = the concept of class-wide type. I would enjoy enough to know the finality of this design. -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [Ep= igrams on = Programming =E2=80=94 Alan J. =E2=80=94 P. Yale University] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [Idem] =E2=80=9Cc++; /* this makes c bigger but returns the old value */=E2=80=9D= [Anonymous]