We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
try
Exception_Depth()
For example.
bool IsItOne(int i) { try { if (1 == i) return true; } catch (e) { ; } return false; } void Function(void) { IsItOne(1); Exception_Depth(); // should be zero }
The text was updated successfully, but these errors were encountered:
A possible solution might be to use a "smart object" on the stack, that will Exception_Dec() when it goes out of scope.
Exception_Dec()
Sorry, something went wrong.
This is a nasty one. Unfortunately such a smart object isn't possible in C but there may be other ways. Thanks, I'll have a think about it.
Until I can think of a better solution I've simply added a warning to the website.
No branches or pull requests
For example.
The text was updated successfully, but these errors were encountered: