This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Placement new[] weirdness


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]