Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-12931

sorting of std::vector elements in the debugger is wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 3.2.0
    • Debugger
    • None
    • win7, qt-enterprise edition, qt creator 3.2

      When debugging contents of a std::vector, the sorting of its elements is wrong (see attached picture)

      how to reproduce:

      #include <algorithm>
      #include <iostream>
      #include <vector>

      int main()
      {
      std::vector<int> v(100);
      std::iota(std::begin(v), std::end(v), 1);

      for (int i : v)

      { std::cout << i << std::endl; }

      }

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

            hjk hjk
            ahaupt Andre Haupt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes