Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332430 - References created by template instantiations not found
Summary: References created by template instantiations not found
Status: CLOSED DUPLICATE of bug 326070
Alias: None
Product: CDT
Classification: Tools
Component: cdt-indexer (show other bugs)
Version: 7.0   Edit
Hardware: All All
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Markus Schorn CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-13 07:16 EST by Jens Elmenthaler CLA
Modified: 2016-12-27 22:38 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Elmenthaler CLA 2010-12-13 07:16:14 EST
Build Identifier: HEAD

Create a source file with the following content:

template<class T>
class A {
public:

  A(T &t)
  {
    t.doSomething();
  }
};

class B {
public:

  void doSomething() {};
};

int main()
{
  B b;
  A<B> a(b);

  return 0;
}

Neither Ctrl-Shift-G nor Ctrl-Alt-H show the reference to B::doSomething().

Reproducible: Always
Comment 1 Nathan Ridge CLA 2014-05-03 00:37:28 EDT
This looks like a duplicate of bug 326070.
Comment 2 Nathan Ridge CLA 2016-12-27 22:38:49 EST

*** This bug has been marked as a duplicate of bug 326070 ***