-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
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
<vector>
, etc.: avoid _RERAISE
in favor of usual scope guards
#2307
Labels
enhancement
Something can be improved
Comments
Agreed; the inconsistency exists because This can be done incrementally, e.g. file-by-file. |
AlexGuteniev
added a commit
to AlexGuteniev/STL
that referenced
this issue
Oct 30, 2021
<vector>
, <mutex>
, etc: avoid _RERAISE
in favor of usual scope guards<vector>
, etc.: avoid _RERAISE
in favor of usual scope guards
After the above PRs (thanks!) we're currently down to the following occurrences:
|
|
15 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
_RERAISE;
expands tothrow;
, that is it rethrowing an exception.This is used for cleanups in exception case.
It is inconvenient for debugging, when the same exception shows up twice.
Change this construct to usual scope guards.
The text was updated successfully, but these errors were encountered: