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

Forward-declared template class not found on Find Usages

    XMLWordPrintable

Details

    Description

      foo.h:

      template<class T>
      class Foo
      {
      };

      main.cpp:

      template<class T>
      class Foo;
      
      Foo<int> *IntFoo;

      Find Usages in foo.h doesn't find the instantiation in main.cpp.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes