Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-80305

Adopt C++ smart pointer to indicate ownership of pointers in Qt

XMLWordPrintable

    • Icon: User Story User Story
    • Resolution: Out of scope
    • Icon: P1: Critical P1: Critical
    • None
    • None
    • Core: Other, Other
    • All
    • 40

      danielteske offered a patch to adopt unique pointers throughout Qt API to indcate ownership of raw pointers. This requires changes to the constructors in most QObject classes. Furthermore any API that deals with reparenting cases must be reviewed to determine the correct response.

      https://codereview.qt-project.org/c/qt/qtbase/+/260618

        For Gerrit Dashboard: QTBUG-80305
        # Subject Branch Project Status CR V

            heimrich Karsten Heimrich
            ablasche Alex Blasche
            Maurice Kalinowski Maurice Kalinowski
            Alex Blasche Alex Blasche
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                There is 1 open Gerrit change