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

Qt 5 to-do's for QT_STRICT_ITERATORS

    XMLWordPrintable

    Details

    • Technical Risk:
      Normal
    • Commits:
      2a5ec0403c9c79239c3a5c3657e0a73948df9227

      Description

      Both qmap.h and qhash.h contain two copies of the following to-do comment:

              // ### Qt 5: not sure this is necessary anymore
      #ifdef QT_STRICT_ITERATORS
          private:
      #else
          public:
      #endif
              inline bool operator==(const const_iterator &o) const
                  { return i == o.i; }
              inline bool operator!=(const const_iterator &o) const
                  { return i != o.i; }
      

      As source-incompatible changes are no longer allowed for Qt 5, these comments should either be removed or marked as Qt 6 to-do's.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              thiago Thiago Macieira
              Reporter:
              jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes