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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5dacec64c8c879fa X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.238.198 with SMTP id vm6mr15358255pbc.3.1328655970754; Tue, 07 Feb 2012 15:06:10 -0800 (PST) Path: lh20ni272079pbb.0!nntp.google.com!news2.google.com!postnews.google.com!y10g2000vbn.googlegroups.com!not-for-mail From: Alan Copeland Newsgroups: comp.lang.ada Subject: Re: Preventing Unchecked_Deallocation? Date: Tue, 7 Feb 2012 15:06:10 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <33a35da4-6c3e-4ab4-b58f-a9d73565d79a@t30g2000vbx.googlegroups.com> <4350713b-6ac3-4b22-b221-8da2bac52fea@t5g2000yqk.googlegroups.com> <26e4f2a4-edae-4e37-8697-f2390e636a21@z31g2000vbt.googlegroups.com> <07915db7-0e84-4eb5-af69-ee31e10b018f@db5g2000vbb.googlegroups.com> NNTP-Posting-Host: 24.218.138.255 Mime-Version: 1.0 X-Trace: posting.google.com 1328655970 25680 127.0.0.1 (7 Feb 2012 23:06:10 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 7 Feb 2012 23:06:10 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y10g2000vbn.googlegroups.com; posting-host=24.218.138.255; posting-account=DxsU4goAAAAtkBlLb0L0rBujupPDIWXq User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: ARLUEHNKC X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; InfoPath.2),gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-02-07T15:06:10-08:00 List-Id: On Feb 7, 4:30=A0pm, Robert A Duff wrote: > I don't understand that last sentence. =A0You don't need pointers > (access types) to call primitive operations. Sure, but from a practical standpoint, what other choice is there? You can't save the actual object Z off into an element of both X and Y (otherwise you would have two separate objects), so you have to save an access value. That way primitive ops of X and Y can both call primitive ops on the same Z. Unless I'm missing something... -sb