Skip to content

Improve exception safety with smart pointers #1055

@elfring

Description

@elfring

Description

Would you like to wrap any pointers with the class template “std::unique_ptr”?

Expected Behavior

Better exception handling

Actual Behavior

Would the release of selected resources be incomplete eventually?

Sample Code or DRAW Tcl Script

Source code analyses

Operating System

Linux

Compiler

GCC

Bitness

64-bit

OCCT Version

latest

Additional Files

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. NewThe issue was created, but not updated by maintainer. Waiting for updates labels and categories1. CodingCoding rules, trivial changes and misprints2. BugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions