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

QTCreator crashes after typing this-> inside class derived from std::vector

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • Qt Creator 2.7.1
    • Editors
    • None
    • Ubuntu 12.04 (64 bit), Intel Core I7
      Windows Vista (64 bit)
      QT Cteator 2.7.1, Based on Qt 4.8.4 (64 bit) Built on May 15 2013 at 14:24:49 From revision d267c39b84

    Description

      Editing of class derived from std::vector leads to crash right after typing "this->"
      e.g.

      template<typename T>
      
      class Track : public std::vector<T> {
      public:
          Track(): std::vector<T>(){
              last_track_id++;
               // type here 'this->' will lead to crash
          }
      };
      

      Attachments

        Issue Links

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

          Activity

            People

              davschul David Schulz
              agoncharov Alexander Goncharov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes