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

Code completion does not work for base class with argument which is a default argument for derived class template

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 3.2.0-beta1
    • Qt Creator 3.1.2, Qt Creator 3.2.0-beta1, Qt Creator 3.3.0-beta1
    • C/C++/Obj-C++ Support
    • None
    • 059cfde67737fb1d0d1a4c46ee62a387a07ca0b4

      template <typename T>
      struct Base
      {
          T t;
      };
      
      struct Foo
      {
          int bar;
      };
      
      template <typename T1 = Foo>
      struct Derived : Base<T1>
      {
      
      };
      
      int main()
      {
          Derived<> foo;
          foo.t.
          return 0;
      }

        For Gerrit Dashboard: QTCREATORBUG-12606
        # Subject Branch Project Status CR V

            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