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

Template cross-reference between nested classes doesn't work

XMLWordPrintable

    • 5d76b4339a717cd944c4a3c27eac860b8111d645, ba42ceb0cb7827a9bbad29a1e08d4a25339ea57d

      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
      }

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes