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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,195bd8ec4227e968 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-02-09 17:35:00 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dan@irvine.com (Dan Eilers) Newsgroups: comp.lang.ada Subject: Re: [Q] non-limited record and "self-pointer" Date: 9 Feb 2004 17:35:00 -0800 Organization: http://groups.google.com Message-ID: References: <86d68pl0tc.fsf@sonnenregen.at.home> NNTP-Posting-Host: 66.126.103.122 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1076376900 24271 127.0.0.1 (10 Feb 2004 01:35:00 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 10 Feb 2004 01:35:00 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:5374 Date: 2004-02-09T17:35:00-08:00 List-Id: Here's a cut-down example: with Ada.Finalization; package Unbounded is type Container_Type is new Ada.Finalization.Controlled with null record; end Unbounded; with Unbounded; package Sets is type Read_Only_Set is tagged private; type Set_Ptr is access all Read_Only_Set'class; private type Read_Only_Set is tagged record container: Unbounded.Container_Type; self: Set_Ptr := Read_Only_Set'unchecked_access; end record; end Sets; -- Dan Eilers