A
Antonio
Hi, everybody
Is there a reliable way of detecting whether destructor of a local object
was called due to stack unwind (exception) or normal exit from the scope?
This check has to be made inside destructor of this local object. If there
is no portable C++ way of doing this, hacks for Windows and/or MSVC6
generated code (with checking some registers etc.) will do.
Thanks in advance,
Antonio
Is there a reliable way of detecting whether destructor of a local object
was called due to stack unwind (exception) or normal exit from the scope?
This check has to be made inside destructor of this local object. If there
is no portable C++ way of doing this, hacks for Windows and/or MSVC6
generated code (with checking some registers etc.) will do.
Thanks in advance,
Antonio