comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: Problem with access parameter
Date: Wed, 26 May 2004 09:05:17 +0200
Date: 2004-05-26T09:05:17+02:00	[thread overview]
Message-ID: <1671188.WHz8GCEAgr@linux1.krischik.com> (raw)
In-Reply-To: 5d6fdb61.0405250748.70165b47@posting.google.com

Jano wrote:

> Dmitry A. Kazakov wrote:
 
> That's the way I've taken. It's indeed better than my original
> approach (except for the need of stubs, but I don't like to expose
> protected types anyway) because I wanted to free data in a Charles
> polymorphic list of classwide pointers, and I didn't want to depend on
> what was finalized first: the container or my destructor (even if
> there are strict rules for that, it's too fine a detail to depend on
> for my tastes).

Any deeper reason why you want to store pointers?

Charles, or at least Ada.Containers from the same author has support for
indefinite types and can therefore store 'Class types directly without the
need of access.

With Regards

Martin

-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com




  reply	other threads:[~2004-05-26  7:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-25 10:52 Problem with access parameter Jano
2004-05-25 14:00 ` Jim Rogers
2004-05-25 15:32   ` Dmitry A. Kazakov
2004-05-25 14:58 ` Jano
2004-05-25 15:48 ` Jano
2004-05-26  7:05   ` Martin Krischik [this message]
2004-05-26 14:35     ` Jano
2004-05-26 16:11       ` Martin Krischik
2004-05-27  9:01         ` Jano
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox