🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Overloaded new/delete

#2737
From: Fergus Henderson
Date: Mon, 27 Nov 1995 15:58
29 lines
1318 bytes
Oops, I made a couple of mistakes in my previous post:

>You can clean up `b' and `d' like this:
>
>	Delete(b);
>	Delete(d);

That should be

	Delete(b, myalloc);
	Delete(d, myalloc);

>	DeleteArray(a);

That should be

	DeleteArray(a, myalloc, 1024);

Apologies for any confusion that caused.

--
Fergus Henderson             	WWW: http://www.cs.mu.oz.au/~fjh
fjh@cs.mu.oz.au              	PGP: finger fjh@128.250.37.3
I will have little or no net access from Nov 30 until Dec 25.
Please email me a copy of any follow-ups.

[ 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: <9533115.19537@mulga.cs.mu.OZ.AU>
Path: arc1-ca.pugleaf.net!engnews1.Eng.Sun.COM!taumet!clamage
References: <199511250708.SAA29735@oznet02.ozemail.com.au> <9533102.20293@mulga.cs.mu.OZ.AU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!engnews1.Eng.Sun.COM!taumet!clamage
From: fjh@munta.cs.mu.OZ.AU (Fergus Henderson)
Newsgroups: comp.std.c++
Subject: Re: Overloaded new/delete
Date: 27 Nov 1995 15:58:52 GMT
Organization: Computer Science, University of Melbourne, Australia
Sender: news@cs.mu.OZ.AU (CS-Usenet)
Approved: clamage@eng.sun.com (comp.std.c++)
Message-ID: <9533115.19537@mulga.cs.mu.OZ.AU>
References: <199511250708.SAA29735@oznet02.ozemail.com.au> <9533102.20293@mulga.cs.mu.OZ.AU>
NNTP-Posting-Host: taumet.eng.sun.com
Originator: clamage@taumet