🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #3798

Placement delete suggestion Keywords: delete placement

#3798
From: David Sachs
Date: Mon, 25 Mar 1996 18:05
27 lines
2034 bytes
The lack of a placement delete expression form, corresponding to
the placment new form, has been a topic for serious discussion in
this group.  The obvious problem with placement delete is that
any non-awkward form could be ambiguous, though examples that
would show such ambguity are probably infrequent.

In view of this, it might be reasonable if the standards committee
bit the bullet and declare that such ambiguous forms should be
treated as placement deletes. That should be anything of the form:

delete leftparenthesis expressionlist rightparenthesis expression

delete[] leftparenthesis expressionlist rightparenthesis expression

Admitedly, this would probably break some existing code, but the
broken expressions can be fixed by adding parentheses.
-- 
***** Listen Americans, the IRS is your taxer,  the IRS is one. *****
David Sachs - Fermilab, HPPC MS369 - P. O. Box 500 - Batavia, IL 60510
Voice: 1 708 840 3942      Deparment Fax: 1 708 840 3785
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your 
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu 
]
Technical Details
Message-ID: <4j4ec5$d41@fsgi01.fnal.gov>
Path: arc1-ca.pugleaf.net!chronicle.mti.sgi.com!austern

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!chronicle.mti.sgi.com!austern
From: b91926@fsgi01.fnal.gov (David Sachs)
Newsgroups: comp.std.c++
Subject: Placement delete suggestion Keywords: delete placement
Date: 25 Mar 1996 10:05:32 PST
Organization: FERMILAB, Batavia, IL
Approved: austern@isolde.mti.sgi.com
Message-ID: <4j4ec5$d41@fsgi01.fnal.gov>
Reply-To: sachs@fnal.fnal.gov
NNTP-Posting-Host: isolde.mti.sgi.com
X-Original-Date: 24 Mar 1996 15:21:09 -0600
X-Newsreader: NN version 6.5.0 #9 (NOV)
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBVAwUBMVbgiEy4NqrwXLNJAQH9ZgIAz5KH/VVhNpZYikg5MJzpuHh1s26LR4Mj
 dDs5pptvJUxsr6qvkwQHcBruaaqqnNeIdUgR3nHestGreup0jgbz1g==
 =ya0X
Originator: austern@isolde.mti.sgi.com