From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: containers and garbage collections.
Date: Tue, 16 Sep 2003 19:59:11 +0200
Date: 2003-09-16T19:59:11+02:00 [thread overview]
Message-ID: <2203063.rkHteqzyCe@linux1.krischik.com> (raw)
In-Reply-To: uu17d7ij8.fsf@earthlink.net
Matthew Heaney wrote:
> Dmitry A. Kazakov <mailbox@dmitry-kazakov.de> writes:
>> What you will lose with it, and there is always something to lose, is
>> that the type operations will not be considered dispatching. So if the
>> actual of Element_Type is class-wide, and you want to dispatch
>> somewhere in a generic body, you will need to pass a [class-wide]
>> wrapper subprogram around a primitive operation instead of the
>> primitive operation itself.
> That wasn't required for his problem. All the dispatching is done
> outside of the generic.
Initialize, Adjust, and Finalize are dispatching and will implicitly be
called (on GNAT by the hidden procedures Deep_Initialize, Deep_Adjust, and
Deep_Finalize which are also dispatching).
Still, I found you suggestion very interesting and I have started to work on
it.
With Regards
Martin
--
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com
prev parent reply other threads:[~2003-09-16 17:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-12 15:32 containers and garbage collections Martin Krischik
2003-09-12 16:41 ` Stephen Leake
2003-09-13 9:37 ` Martin Krischik
2003-09-13 3:33 ` Matthew Heaney
2003-09-13 9:45 ` Martin Krischik
2003-09-13 17:10 ` Matthew Heaney
2003-09-15 13:47 ` Dmitry A. Kazakov
2003-09-15 23:11 ` Matthew Heaney
2003-09-16 17:59 ` Martin Krischik [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox