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

QMap::iterator - small mistake in detailed postfix operator--(int) description

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.7.4
    • 4.7.1
    • Documentation
    • None
    • ea8a4080bfc341785c8852a66c90050f72a58e12

    Description

      In QMap::iterator documentation (http://doc.qt.nokia.com/4.7/qmap-iterator.html) there is a sentence:

      iterator iterator::operator-- ( int )

      The prefix – operator (--i) makes the preceding item current and returns an iterator pointing to the previously current item.

      But it should be:

      The postfix – operator (i--) makes the preceding item current and returns an iterator pointing to the previously current item.

      Attachments

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

        Activity

          People

            dm Geir Vattekar
            tompomm1001 Thomas Schulz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes