
Posted:
Sep 3, 2003 @ 2:13pm
by angedelamort
It's been a while I didn't come here, but after reading the thread title, I remember reading something about that. Here something that looks like what I've read:
But I have to say that it's a really nice and simple implementation of the try catch system you've made there. But I learned in your post that try/catch is not working in EVC :P So I think it's excusable.

Posted:
Sep 4, 2003 @ 2:30am
by mlepage
But are stack objects (auto storage) automatically destroyed when a longjmp occurs? I didn't think they were, but I can't say I know for sure. Doesn't your method rely on that? I wanted to do something like that, but wasn't sure it was possible.
There's lots of fancy exception implementations out there, I kind of like mine for being extremely simple.
By all means check for try/catch depth if you have nested code. So far I'm not heavily nesting code that uses exceptions, so I'm fairly safe from that particular problem.