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

Code completion does not work for template with pointer in initialization and specialization

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • Qt Creator 3.3.0-beta1
    • Qt Creator 3.1.2, Qt Creator 3.2.0-rc1, Qt Creator 3.3.0-beta1
    • C/C++/Obj-C++ Support
    • None
    • 0bc202d52fca029849e38b05f91efed4d1ee7bd1

      template <typename T>
      struct S {};
      
      template <typename T>
      struct S<T*> { T* t; };
      
      struct Foo { int foo; };
      
      int main()
      {
      	S<Foo*> s;
      	s.t-> //no code completion
      	return 0;
      }
      

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

            kosjar Nikolai Kosjar
            pgorszkowski Przemyslaw Gorszkowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes