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: class C { protected: int i; friend void foo(); template <class T> friend void tfoo(); }; void foo() { C c; c.i = 1; // ok } template<class T> static void tfoo() { C c; c.i = 1; // unresolved } int main() { foo(); tfoo<int>(); return 0; }
Works now. Several template friend bugs have been fixed recently.