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: a07f3367d7,4b758210c0900d03 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!feeder2.cambriumusenet.nl!feeder1.cambriumusenet.nl!feed.tweaknews.nl!195.238.0.231.MISMATCH!news.skynet.be!aioe.org!not-for-mail From: =?iso-8859-15?Q?Hibou57_=28Yannick_Duch=EAne=29?= Newsgroups: comp.lang.ada Subject: Re: Protected object which never get finalized Date: Mon, 15 Feb 2010 20:22:41 +0100 Organization: At Home Message-ID: References: NNTP-Posting-Host: 3asb9hiTRjIGumPMgCsIjA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.10 (Win32) Xref: g2news1.google.com comp.lang.ada:9250 Date: 2010-02-15T20:22:41+01:00 List-Id: Le Mon, 15 Feb 2010 19:08:18 +0100, sjw a =E9cr= it: > I had wanted to write > > private > Name : aliased constant String :=3D "P.A_Type"; > protected type A_Type is > private > Spy : Spies.Instance_Type > (Client_Name =3D> Name'Access); > end; > end P; > > to avoid allocating a new Client_Name at each instance creation. Don't bother, this String is just required for the Spy member, which was= = just there to test how things was working. This was not to be part of th= e = final application. > This looks a little messy if in the public part. Yes, ;) -- = No-no, this isn't an oops ...or I hope (TM) - Don't blame me... I'm just= = not lucky