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.
Summary: | bug in template function parameter | ||
---|---|---|---|
Product: | cnd | Reporter: | Yankes |
Component: | Code Model | Assignee: | petrk |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Windows 10 x64 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Yankes
2014-06-01 12:51:27 UTC
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; } |