Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-96795 QtLocation maps to Qt 6.2
  3. QTBUG-105206

API: clean up and modernize value types

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Fixed
    • P2: Important
    • 6.5
    • Location
    • None
    • Team 1 Foundation_Sprint 44

    Description

      Value types should

      • be movable (ideally with both move-constructor and move-assignment operator)
      • use explicit constructors from other types
      • use noexcept as appropriate (for all implicitly shared classes: moving, copying, swapping, comparing)
      • not have any protected or virtual members (subclassing a value type is not allowed)
      • use hidden friends for operators

      Types can either have none of the special member functions defined, or all of them.

      Attachments

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

        Activity

          People

            vhilshei Volker Hilsheimer
            vhilshei Volker Hilsheimer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes