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

Template cross-reference between nested classes doesn't work

    XMLWordPrintable

    Details

    • Commits:
      5d76b4339a717cd944c4a3c27eac860b8111d645, ba42ceb0cb7827a9bbad29a1e08d4a25339ea57d

      Description

      template<class T>
      struct Temp
      {
          struct Nested1 { T t; };
          struct Nested2 { Nested1 n1; };
      };
      
      struct Foo { int foo; };
      
      void func()
      {
          Temp<Foo>::Nested1 n1;
          Temp<Foo>::Nested2 n2;
          n1.t.foo; // Highlighted
          n2.n1.t.foo; // Not highlighted
      }

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              kosjar Nikolai Kosjar
              Reporter:
              orgads Orgad Shaneh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes