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

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes