Article View: borland.public.cppbuilder.nativeapi
Article #15311Re: Self destructive 0bject/class... (Challange)
From: Pang Fu
Date: Wed, 09 Jul 2003 14:41
Date: Wed, 09 Jul 2003 14:41
10 lines
1382 bytes
1382 bytes
Thank you Alan... > >Is it possible for an instance of a class to delete itself upon receive a > >message as shown below? > > Yes: "delete this;" > > Note - you must make very sure that the function then returns without > accessing any non-static methods or members. >
Technical Details
Message-ID:
<3f0c29b5@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!elnk-pas-nf2!elnk-pas-nf1!newsfeed.earthlink.net!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3f0c21da@newsgroups.borland.com> <359ogv4ma0486k3iath6cf42eqvg4ab6u0@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,9af595df0adad9f3 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-09 08:08:03 PST From: "Pang Fu" <nospam_pangfu@hotmail.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f0c21da@newsgroups.borland.com> <359ogv4ma0486k3iath6cf42eqvg4ab6u0@4ax.com> Subject: Re: Self destructive 0bject/class... (Challange) Date: Thu, 10 Jul 2003 00:41:51 +1000 Lines: 12 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 210.50.97.32 Message-ID: <3f0c29b5@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1057761717 210.50.97.32 (9 Jul 2003 07:41:57 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!elnk-pas-nf2!elnk-pas-nf1!newsfeed.earthlink.net!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail