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

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

    XMLWordPrintable

    Details

    • Type: User Story
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Out of scope
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core: Other, Other
    • Labels:
    • Platform/s:
      All
    • Epic Link:
    • Story Points:
      40

      Description

      Daniel Teske 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              heimrich Karsten Heimrich
              Reporter:
              ablasche Alex Blasche
              PM Owner:
              Maurice Kalinowski Maurice Kalinowski
              RnD Owner:
              Alex Blasche Alex Blasche
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There is 1 open Gerrit change