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

Define the roles of smart pointers for Qt

    XMLWordPrintable

Details

    Description

      We want to define roles of smart pointers for Qt.

      For the following smart pointers:

      • weak
      • shared
      • scoped/unique

      We need to answer the following questions:

      • What is the definition
      • When to use
      • When do not use
      • How to use

      Acceptance criteria:

      • Recommendations
      • Best practices
      • Definitions

      Note: some of these question are already covered. Please consider the research in terms of API design.

      Note: perhaps we could also create some stories to improve tools like clazy with new diagnostics.

      The report is here (only for The Qt Company so far).

      Attachments

        Issue Links

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

          Activity

            People

              vitaly.fanaskov Vitaly Fanaskov
              vitaly.fanaskov Vitaly Fanaskov
              Maurice Kalinowski Maurice Kalinowski
              Alex Blasche Alex Blasche
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes