delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/03/13/12:01:21

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: new/malloc and delete/free
Date: 13 Mar 2002 16:58:30 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 14
Message-ID: <a6o0fm$j4l$1@nets3.rz.RWTH-Aachen.DE>
References: <3C8CD04E DOT 5050105 AT vif DOT com> <a6im8f$61b$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <a6o05m$9nt$2 AT panorama DOT wcss DOT wroc DOT pl>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1016038710 19605 137.226.32.75 (13 Mar 2002 16:58:30 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 13 Mar 2002 16:58:30 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Lotko Mariusz <lotko AT alice DOT ci DOT pwr DOT wroc DOT pl> wrote:

> I'm afraid it's not true. new/delete call constructor/destructor while
> malloc/free don't.

That's part of the "shiny coat" I was talking about.  Behind the
scenes most new/delete implementations will actually go and call
malloc() and free() themselves.



-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019