Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Templates implementations and indexer
Templates implementations and indexer [message #769217] Wed, 21 December 2011 10:30 Go to next message
Eclipse UserFriend
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 01:59 Go to previous message
Eclipse UserFriend
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: Tue Jun 17 19:31:59 EDT 2025

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

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

Back to the top