This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Example: template<typename T> struct A { A<T>& foo(); }; template<typename T> A<T>& A<T>::foo() { // unresolved return *this; } int main() { A<int> a; a.foo(); return 0; }
There is the same situation with *: template<typename T> struct A { A<T>* foo(); }; template<typename T> A<T>* A<T>::foo() { // unresolved return *this; } int main() { A<int> a; a.foo(); return 0; }
fixed http://hg.netbeans.org/main?cmd=changeset;node=949ad3211572
fixed
*** Issue 151757 has been marked as a duplicate of this issue. ***
Integrated into 'main-golden', will be available in build *200903070353* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/7a5114d0ab67 User: Nick N. Krasilnikov <nnnnnk@netbeans.org> Log: test for IZ#159054 : Unresolved id in case of reference to template as return type