Skip to content

<vector>, etc.: avoid _RERAISE in favor of usual scope guards #2307

Description

_RERAISE; expands to throw;, 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSomething can be improved

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions