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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b031c56dc601135 X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news1.google.com!news.glorb.com!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Problem with access parameter Date: Wed, 26 May 2004 09:05:17 +0200 Organization: AdaCL Message-ID: <1671188.WHz8GCEAgr@linux1.krischik.com> References: <5d6fdb61.0405250252.3a1f1f68@posting.google.com> <5d6fdb61.0405250748.70165b47@posting.google.com> Reply-To: krischik@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1085555234 05 31066 BaKMGQYJ6MzAnVa 040526 07:07:14 X-Complaints-To: usenet-abuse@t-online.de X-ID: SSNFfBZFQeZb3i5D2pjZqaEmOLBG4cMLbpCvENaWfJ69kgh9nNSGUk User-Agent: KNode/0.7.7 Xref: controlnews3.google.com comp.lang.ada:838 Date: 2004-05-26T09:05:17+02:00 List-Id: 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