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.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f4fd2,8e3b3db66f3b0061 X-Google-Attributes: gidf4fd2,public X-Google-Thread: fd443,8e3b3db66f3b0061 X-Google-Attributes: gidfd443,public X-Google-Thread: 109fba,8e3b3db66f3b0061 X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,474d28ddf953b3c1 X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,8e3b3db66f3b0061 X-Google-Attributes: gid1014db,public X-Google-ArrivalTime: 1994-11-30 08:43:35 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!swrinde!emory!darwin.sura.net!news.sesqui.net!uuneo.neosoft.com!Starbase.NeoSoft.COM!not-for-mail From: dweller@Starbase.NeoSoft.COM (David Weller) Newsgroups: alt.lang.design,comp.lang.c,comp.lang.c++,comp.lang.lisp,comp.lang.ada Subject: Re: Reference Counting (was Re: Searching Method for Incremental Garbage Collection) Date: 30 Nov 1994 10:39:54 -0600 Organization: NeoSoft Internet Services +1 713 684 5969 Message-ID: <3bi9sq$17r@Starbase.NeoSoft.COM> References: <3bfprn$okr@scipio.cyberstore.ca> <3bg6ci$18k@gamma.ois.com> NNTP-Posting-Host: starbase.neosoft.com Xref: bga.com alt.lang.design:131 comp.lang.c:32586 comp.lang.c++:38941 comp.lang.lisp:4218 comp.lang.ada:8093 Date: 1994-11-30T10:39:54-06:00 List-Id: In article , Dag Bruck wrote: >I was under the impression that the user cannot define the assignment >operator in Ada. If so, how can you implement safe RC except by going >through a private type? That's incorrect. Assignment operations can be redefined in Ada, provided the type is derived from the Controlled class. Implicit initialization, assignment, and finalization mayy be overidden by the user. Redefinition of assignment in Ada94, however, is more restrictive than in C++, since the type tags of both the left and right must be equal. -- Proud (and vocal) member of Team Ada! (and Team OS/2) ||This is not your Ada -- Very Cool. Doesn't Suck. || father's Ada For all sorts of interesting Ada tidbits, run the command: ||________________ "finger dweller@starbase.neosoft.com | more" (or e-mail with "finger" as subj.) |"Quitting C++ isn't so difficult, provided you show as much | | persistence stopping as you did starting." dweller |