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

Details

    • Bug
    • Resolution: Done
    • 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

    Description

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

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes