Darren New wrote:
Christopher Smith wrote:
could cast ptr to a void* and invoke free() and it would do fine,

Really? Wow. I thought C++ was better than that.

Or do you mean "on the C++ implementations I've used, that's all it ever was, assuming I didn't override new"?
I mean, as per the standard, assuming you didn't override operator delete, which of course, wasn't the case in the sample provided.

--Chris

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to