X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: Hans-Bernhard Broeker 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: References: <3C8CD04E DOT 5050105 AT vif DOT com> 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 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.