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

Code completion does not work for std::vector of objects

XMLWordPrintable

    • 97d3d9ac0946f3be0e036b70401352e3ddaeb8fc

      Qtcreator editor does not autocomplete members of objects which are inside a vector

      #include <vector>
      
      struct A
      { int member; };
      
      void f()
      {
          std::vector<A> a;
      //     a[0].m // no completion
      //    a.begin()->m // no completion
      }
      
      

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

            kosjar Nikolai Kosjar
            dpinol Daniel Pinyol
            Votes:
            9 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes