Community
Participate
Working Groups
C/C++ Indexer Problem: Syntax error encountered in file: /usr/include/c++/3.3.1/memory on line: 349. The following code snippet points to the problem: class A { public: int f() {return 1;} template <typename T2> int g(T2* t2) { return (this->f()); } ^^ } For templated member functions implicit parameter 'this' has not been added to the symbol table. Therefore dereferencing 'this' yields a syntax error.
fixed in head and branch. I'm not totally happy with the type of the this pointer when the class is a template class. see bug 71827.