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.
--->%--->%--->%--- template<void (*P)()> //error: unable to resolve identifier P class B { }; --->%--->%--->%---
Small bump, in Dev 201608060002 it still do not work.
Same bug in this case: int func() { return 1; } template<class T, int (*pVal)() = func> T myTempFunc(T t) { return t + pVal(); } int main() { myTempFunc<int, &func>(2); return 0; }