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,d0728b52f51f685e X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: copy constructor for sockets Date: 24 May 2004 05:53:55 +0100 Organization: Pushface Sender: simon@smaug.pushface.org Message-ID: References: NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1085374712 24761 62.49.19.209 (24 May 2004 04:58:32 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Mon, 24 May 2004 04:58:32 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: controlnews3.google.com comp.lang.ada:794 Date: 2004-05-24T05:53:55+01:00 List-Id: Matthew Heaney writes: > > in which of these times you should decrement, > > Huh? Every time, of course. How could it be otherwise? What would > a reference counting scheme even mean, if you didn't decrement the > refcount during finalization of the object? I have it stuck in my head that Finalize can get called more than once. Which would make a mockery of (simple-minded) reference counting schemes, of course. Please tell me it ain't so! (or explain why it's not actually a problem ..) -- Simon Wright 100% Ada, no bugs.