I am refactoring some legacy C++ MFC code and have come across this construct:
TRY
{
// do some stuff
}
CATCH
{
// do some other stuff
}
END_CATCH
To me this seems quite unusual, and I am trying to understand what is the benefit of using TRY/CATCH in favor of try/catch.
I see that TRY creates an instance of AFX_EXCEPTION_LINK and I don't quite understand the purpose of this. My googling skill failed miserably.