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: | Failed deduction of auto variable in C++11 | ||
---|---|---|---|
Product: | cnd | Reporter: | Yankes |
Component: | Code Model | Assignee: | petrk |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Other | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Yankes
2016-03-11 23:49:07 UTC
Another similar bug case, but now with function: -->%--->%--->%--->%-- struct X { bool getPact() {} }; X func(int i); int main() { auto x = func({}); //without `{}` its work x.getPact(); //error: Unable to resolve identifier } --%<---%<---%<---%<-- *** This bug has been marked as a duplicate of bug 247031 *** |