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,4e5770c49b971630 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: High-Integrity OO and controlled types 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: <679e3217-98dd-43c1-86f6-2038a029c3ea@b19g2000yqg.googlegroups.com> <94f3a272-d071-4a74-bfbd-8f2b4c2347cf@m10g2000yqd.googlegroups.com> Date: Tue, 3 May 2011 12:24:41 +0200 Message-ID: <1iafnr1rbueaw.1bo3gcx227hx7.dlg@40tude.net> NNTP-Posting-Date: 03 May 2011 12:24:42 CEST NNTP-Posting-Host: 5ce5fcce.newsspool3.arcor-online.net X-Trace: DXC=hak2`HU3GDZYQ5E:l On Tue, 3 May 2011 02:59:05 -0700 (PDT), Maciej Sobczak wrote: > Controlledness should not be based on tags - it should be a completely > orthogonal property of the type, without any relation to class-wide > objects and dispatching calls (see C++ for an example). Interestingly > this conclusion comes up regularly. Time to fix that part of the > language, perhaps? ;-) There are three meaning of being controlled: 1. Ada 83 used it to refer memory allocation (pragma Controlled) 2. Since Ada 95 it is both 2.a. An ability to influence initialization and finalization 2.b. An ability to have a [non-generic] class Yes, things need to be sorted out. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de