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

Qt 5 to-do's in QMap

    XMLWordPrintable

Details

    • 5cb0368516abd293daf67711a36bbacc99422e9a

    Description

      qtbase/src/corelib/tools/qmap.h contains the following to-do comments (duplicated in both itersator and const_iterator):

      qmap.h
              // ### Qt 5: get rid of 'operator Node *'
              inline operator QMapData::Node *() const { return i; }
      ...
          private:
              // ### Qt 5: remove
              inline operator bool() const { return false; }
      

      These were added by commit 1913214773bb31bb2f3b6f42f293a9d91062b52c in the private history, which made the same notes in qhash.h, though those have already been removed.

      These comments should either be actioned for 5.0.0, removed, or changed to 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

              biochimia João Abecasis
              jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes