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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1: Critical 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

      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
          }
      };
      

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes