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

Explicit reference to typedef from template base not recognized

    XMLWordPrintable

Details

    • 372173331c689474b2ca7002a1d7ed770b052b80

    Description

      struct Foo { int bar; };
      
      template<typename T>
      struct Base { typedef T F; };
      
      template<typename T>
      struct Derived : Base<T>
      {
          typedef typename Base<T>::F F;
          F f;
      };
      
      void func()
      {
          Derived<Foo> d;
          d.f.bar; // bar not highlighted
      }

      Attachments

        Issue Links

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

          Activity

            People

              orgads Orgad Shaneh
              orgads Orgad Shaneh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes