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-Thread: 103376,a575249b5f286bfe X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.125.233 with SMTP id mt9mr5499095pbb.5.1334427678111; Sat, 14 Apr 2012 11:21:18 -0700 (PDT) Path: r9ni56153pbh.0!nntp.google.com!news2.google.com!news.glorb.com!xmission!newsswitch.lcs.mit.edu!nntp.TheWorld.com!.POSTED!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Garbage Collection ??? Date: Sat, 14 Apr 2012 14:21:17 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <4f881910$0$2652$703f8584@news.kpn.nl> <5o86o2smbjpz.17l849bmku28v$.dlg@40tude.net> <4f888010$0$2641$703f8584@news.kpn.nl> <4f88ed79$0$2660$703f8584@news.kpn.nl> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 X-Trace: pcls6.std.com 1334427677 16763 192.74.137.71 (14 Apr 2012 18:21:17 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Sat, 14 Apr 2012 18:21:17 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:LuduOzyybUEnayAe6PG2vzGAp6k= Content-Type: text/plain; charset=us-ascii Date: 2012-04-14T14:21:17-04:00 List-Id: "ldries46" writes: > I would declare these variables as not null access whatever, ... In Ada 2012, you can say: type T_Ptr_Opt is access all T; subtype T_Ptr is T_Ptr_Opt with Dynamic_Predicate => T_Ptr /= null; Or in GNAT, "Predicate =>" instead of "Dynamic_Predicate =>". - Bob