Skip to content

Improve exception safety with smart pointers #104

Open

Description

@elfring

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

Update candidates:

Activity

  1. davvid commented on Oct 9, 2020

    @davvid
    Contributor

    Hmm, Qt object ownership is interesting.

    https://doc.qt.io/qt-5/objecttrees.html

    In hindsight, the ExprEditor would be better off passing this to the QTimer constructors so that we don't need to do anything in the destructor. unique_ptr wouldn't be appropriate there.

    unique_ptr seems like it would be helpful for ExprStrSpec tho.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions