This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Placement new[] weirdness
- To: Andrey Slepuhin <pooh at msu dot ru>
- Subject: Re: Placement new[] weirdness
- From: Branko Cibej <branko dot cibej at hermes dot si>
- Date: Fri, 16 Jul 1999 08:36:27 +0200
- CC: egcs at egcs dot cygnus dot com
- Organization: HERMES SoftLab
- References: <XFMail.990716094829.pooh@msu.ru>
Andrey Slepuhin wrote:
> 2) However we still can call placement delete[] by
> typing operator delete (p,p). ...
I think you're confusing destruction and deallocation.
They're not interchangeable.
Brane
--
Branko Čibej <branko.cibej@hermes.si>
HERMES SoftLab, Litijska 51, 1000 Ljubljana, Slovenia
voice: (+386 61) 186 53 49 fax: (+386 61) 186 52 70