Topic: delete this


Author: Earl Chew <earl@hpato.aus.hp.com>
Date: 1996/02/02
Raw View
I believe that `delete this' is "unsafe".

Does the draft standard say this explicitly?

Where?

Earl
--
+----------------------------------------------------------------------+
| Earl Chew                               Email: earl_chew@aus.hp.com  |
| Hewlett-Packard Australia Ltd           Tel:   +61 3 9210 5528       |
| Australian Telecom Operation            Fax:   +61 3 9210 5550       |
| 347 Burwood Highway                     GPS:   37 48'44"S 145 8'51"E |
| Burwood East, Victoria 3151, Australia                               |
+----------------------------------------------------------------------+

[ 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://reality.sgi.com/employees/austern_mti/std-c++/policy.html
]





Author: "Nathan Myers, http://www.cantrip.org/" <ncm@cantrip.org>
Date: 1996/02/05
Raw View
Earl Chew wrote:
>
> I believe that `delete this' is "unsafe".
>
> Does the draft standard say this explicitly?

The Draft doesn't say this, and it shouldn't say this.

The subject was discussed in committee.  The construct is
used in plenty of existing code that we saw no reason to break.
It has also been discussed in this newsgroup at length.

For the record, I use "delete this" often.  It works admirably,
in the right context.  I don't use it anywhere else.

Nathan Myers
ncm@cantrip.org  http://www.cantrip.org/

[ 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://reality.sgi.com/employees/austern_mti/std-c++/policy.html
]