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.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,12a63150f4f961a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.231.2 with SMTP id tc2mr3791042pbc.8.1336128211338; Fri, 04 May 2012 03:43:31 -0700 (PDT) Path: pr3ni2713pbb.0!nntp.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news.internetdienste.de!news.tu-darmstadt.de!news.belwue.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Fri, 04 May 2012 12:43:33 +0200 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: OOP in Ada: Alternatives for "protected" scope References: <4fa3b14b$0$6555$9b4e6d93@newsspool4.arcor-online.net> In-Reply-To: <4fa3b14b$0$6555$9b4e6d93@newsspool4.arcor-online.net> Message-ID: <4fa3b2d2$0$6547$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 04 May 2012 12:43:30 CEST NNTP-Posting-Host: 77c78de6.newsspool4.arcor-online.net X-Trace: DXC=4Il0;c^c8[THigV@eW57PQ4IUKejVXKnjIfRO6W3PHgaj8F<9C`[ X-Complaints-To: usenet-abuse@arcor.de Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: 2012-05-04T12:43:30+02:00 List-Id: That was too quick; but moving "private" before Link in the example gets around the "protected" operations of abstract types needing to be public: private -- -- Add your type of computation here to be performed -- at some time during the execution of Do_Something: -- procedure Link (Object : in out A; Computation: Calculators.Calculator'Class);