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

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

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

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

          Activity

            People

              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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change