Quote:
Originally Posted by grumpy
Unfortunately, that doesn't explain your problem. If operator new failed, it would throw an exception and the program would exit unless the exception was caught. It would not cause a problem AFTER main() has returned, and not with operator delete.
|
I'm not so good at english, so maybe I've understood something wrong.
What I meant, was that I actually forgot to catch bad_alloc. I was only catching some objects I'd made by myself, and no other, not even catch(...);
I just looked at you little article about exceptionhandling (DaWei's signature), and I'm gonna read that, so I can better at exceptionhandling too.