🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Why no allocator-specific delete?

#3101
From: James Kanze US/ESC 60/3/141 #407...
Date: Wed, 24 Jan 1996 19:35
26 lines
2131 bytes
In article <9601231054.7277@mulga.cs.mu.OZ.AU> fjh@munta.cs.mu.OZ.AU
(Fergus Henderson) writes:

    [Concerning placement delete...]
|> The ambiguity problems could have been resolved by using a 
|> syntax such as `delete {placement parameters} pointer'.

Which, of course, would make it horribly unorthagonal with placement
new.  Unless we also change placement new to use {...} (as was the
case with early versions of g++).  Which, of course, would break so
many existing programs as to be unthinkable.

Would it be worth it to change the syntax of placement new, making the
old syntax a depricated feature (like strstream), so that we can use
the same syntax for placement delete?  (I don't particularly think it
worth the bother, but others might.)

--
James Kanze         Tel.: (+33) 88 14 49 00        email: kanze@gabi-soft.fr
GABI Software, Sarl., 8 rue des Francs-Bourgeois, F-67000 Strasbourg, France
Conseils, itudes et rialisations en logiciel orienti objet --
                -- A la recherche d'une activiti dans une region francophone
---
[ 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: <9601241013.AA12994@lts.sel.alcatel.de>
Path: arc1-ca.pugleaf.net!fido.asd.sgi.com!austern
References: <4dvid8$460@news.bridge.net> <4e0u1s$5fv@engnews1.Eng.Sun.COM> <4e1jfb$1ea@fsgm01.fnal.gov> <9601231054.7277@mulga.cs.mu.OZ.AU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!fido.asd.sgi.com!austern
From: James Kanze US/ESC 60/3/141 #40763 <kanze@lts.sel.alcatel.de>
Newsgroups: comp.std.c++
Subject: Re: Why no allocator-specific delete?
Date: 24 Jan 1996 11:35:25 PST
Organization: -
Approved: austern@isolde.mti.sgi.com
Message-ID: <9601241013.AA12994@lts.sel.alcatel.de>
References: <4dvid8$460@news.bridge.net> <4e0u1s$5fv@engnews1.Eng.Sun.COM> <4e1jfb$1ea@fsgm01.fnal.gov> <9601231054.7277@mulga.cs.mu.OZ.AU>
NNTP-Posting-Host: isolde.mti.sgi.com
X-Original-Date: Wed, 24 Jan 96 11:13:02 +0100
In-Reply-To: fjh@munta.cs.mu.OZ.AU's message of 23 Jan 1996 10:20:04 PST
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBVAwUBMQaKE0y4NqrwXLNJAQGS+wIAkb2Qc9XGvfau01HGatqCya61xkDYo6vx
 Y9RaYATEefxWSpTvIYkYuxZKpL5vZGP5NULXZUjgdIrH5IHiheqPnw==
 =pT49
Originator: austern@isolde.mti.sgi.com