Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Templates implementations and indexer
Templates implementations and indexer [message #769217] Wed, 21 December 2011 15:30 Go to next message
Harry Houdini is currently offline Harry Houdini
Messages: 131
Registered: February 2010
Senior Member
Hello,

I have in a .h :

template <typename T>
class Collection
{
    ...
    iterator begin();
    ...
 };


and in the matching cpp :

template <typename T>
inline typename Collection<T>::iterator Collection<T>::begin()
{
    ...
}


The indexer has troubles with the text Collection<T>::begin() in the cpp. The error message says :
"Member declaration not found"

Is it a bug ? A missing feature ?

Thanks.
Re: Templates implementations and indexer [message #935613 is a reply to message #769217] Sun, 07 October 2012 05:59 Go to previous message
Nicholas Yue is currently offline Nicholas Yue
Messages: 1
Registered: October 2012
Junior Member
Hi,

I have similar problem.

Using CDT 8.1.0.

I have a a.h and a.tcc setup.

The indexer has problem with the content in a.tcc.

It's been some time since the original post. Is this problem registered with the bug reporting system ?

Regards
Previous Topic:Compiler Visual C++ Builds but no Output Files
Next Topic:Overide the fetching/saving contents of C/H/CPP file
Goto Forum:
  


Current Time: Sun Sep 21 14:18:20 GMT 2014

Powered by FUDForum. Page generated in 0.02563 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software