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

Unexpected behaviour of QMap::const_iterator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 4.6.2
    • None
    • Qt - 4.6.2
      Ubuntu - Karmic Koala

    Description

      Creating an instance of some class that copies the content of a QMap inside const_iterator 'for' loop leaves the iterator invalid. I think this is a defect.
      I have attached a small program to reproduce the issue.

      Attachments

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

        Activity

          People

            stormols Marius Storm-Olsen
            pvijayan Pradeep Kesavasoudham Vijayan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes