This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Placement new[] weirdness
- To: (Mike Stump) <mrs at wrs dot com>
- Subject: Re: Placement new[] weirdness
- From: Andrey Slepuhin <pooh at msu dot ru>
- Date: Fri, 16 Jul 1999 11:49:27 +0400 (MEDT)
- Cc: egcs at egcs dot cygnus dot com
- Organization: Moscow State University Network (MSUnet)
Hi Mike,
In adddition to my previous letter to better understand my point:
1) Shouldn't it mentioned separately in standard that placement form of
allocation/deallocation function may receive/return pointers that
differ from used in operator new[]/delete[] expressions (As it is
done for size parameters) to avoid confusion?
2) Is it possible to treat "operator delete(p,p)" expression
not as deallocation function call but as placement operator delete
(yes, I understand that this is not conforming to standrard)?
Regards,
Andrey.