From: "Hibou57 (Yannick Duchêne)" <yannick_duchene@yahoo.fr>
Subject: Re: Protected object which never get finalized
Date: Mon, 15 Feb 2010 20:22:41 +0100
Date: 2010-02-15T20:22:41+01:00 [thread overview]
Message-ID: <op.u76n33y7vwnd5a@garhos> (raw)
In-Reply-To: b1fdd8e7-570f-42f7-b614-c25392eb8e01@d27g2000yqn.googlegroups.com
Le Mon, 15 Feb 2010 19:08:18 +0100, sjw <simon.j.wright@mac.com> a écrit:
> I had wanted to write
>
> private
> Name : aliased constant String := "P.A_Type";
> protected type A_Type is
> private
> Spy : Spies.Instance_Type
> (Client_Name => 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 the
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
next prev parent reply other threads:[~2010-02-15 19:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-13 0:45 Protected object which never get finalized Hibou57 (Yannick Duchêne)
2010-02-14 12:35 ` John B. Matthews
2010-02-15 18:08 ` sjw
2010-02-15 19:22 ` Hibou57 (Yannick Duchêne) [this message]
2010-02-15 19:20 ` Hibou57 (Yannick Duchêne)
2010-02-15 20:23 ` John B. Matthews
2010-02-15 20:44 ` Adam Beneschan
2010-02-15 22:26 ` Hibou57 (Yannick Duchêne)
2010-02-16 0:23 ` John B. Matthews
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox