Article View: comp.std.c++
Article #2112Why not op delete(void* v&,size_t);?
From: Andy Sawyer
Date: Thu, 05 Oct 1995 08:17
Date: Thu, 05 Oct 1995 08:17
26 lines
1542 bytes
1542 bytes
In article <44k3iv$mok@cnn.Princeton.EDU>
tim@franck.Princeton.EDU "Tim Hollebeek" writes:
> Ronald F. Guilmette <rfg@monkeys.com> wrote:
> >Heck! If you are going to ask about _that_ why not ask why member
> >functions get a `this' _pointer_ rather than a `this' reference?
> >The latter would clearly have been a far better choice.
>
> Agreed. I'm tired of returning *this.
I also agree....dare I suggest the preprocessor option...
#define self (*this)
(P.S. I apologise to those concerned if the above quotes are misattributed)
Regards,
Andy
--
* Andy Sawyer ** e-mail:andys@thone.demon.co.uk ** Compu$erve:100432,1713 **
The opinions expressed above are my own, but you are granted the right to
use and freely distribute them. I accept no responsibility for any injury,
harm or damage arising from their use. -- The Management.
---
[ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu.
Contact address: std-c++-request@ncar.ucar.edu. The moderation policy
is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID:
<6023@thone.demon.co.uk>Path:
arc1-ca.pugleaf.net!in2.uu.net!bounce-backShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!in2.uu.net!bounce-back Date: 05 Oct 95 08:17:22 GMT Approved: fjh@cs.mu.oz.au Newsgroups: comp.std.c++ X-Original-Date: Tue, 03 Oct 95 00:18:55 GMT Message-ID: <6023@thone.demon.co.uk> From: Andy Sawyer <andys@thone.demon.co.uk> Organization: The United Federation Of Planets Reply-To: andys@thone.demon.co.uk Subject: Why not op delete(void* v&,size_t);? X-Mailer: Demon Internet Simple News v1.29