On Thu, 15 Jul 2010 09:08:24 +0200, Vladimir Panteleev
<[email protected]> wrote:
On Thu, 15 Jul 2010 04:00:49 +0300, Jonathan M Davis
<[email protected]> wrote:
Ideally, you'd want things to blow up when such an object was used, with
it clearly indicating that it was because you used an object which isn't
supposed to exist anymore.
I suggested this as well, by stomping on the object's memory in debug
builds. Andrei has different goals.
Surely you can't just stomp on the memory?
You'd have to keep it allocated so nothing else ends up being allocated
there, and you get
weird inconsistent errors, debug mode or not.