Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@AlexGuteniev

Description

@AlexGuteniev

_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.

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