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.

Bug 243224 - valid std::vector members are reported as not defined and underscored red
Summary: valid std::vector members are reported as not defined and underscored red
Status: RESOLVED DUPLICATE of bug 247031
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-24 19:46 UTC by UcayaliFish
Modified: 2014-11-21 11:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (44.86 KB, text/plain)
2014-03-24 19:46 UTC, UcayaliFish
Details

Note You need to log in before you can comment on or make changes to this bug.
Description UcayaliFish 2014-03-24 19:46:23 UTC
Product Version = NetBeans IDE 8.0 (Build 201403101706)
Operating System = Linux version 3.11.0-12-generic running on amd64
Java; VM; Vendor = 1.7.0_51
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.51-b03
Comment 1 UcayaliFish 2014-03-24 19:46:27 UTC
Created attachment 146276 [details]
IDE log
Comment 2 Alexander Simon 2014-05-21 18:12:12 UTC
Please provide additional info:
- code example
- tool collection
Comment 3 UcayaliFish 2014-05-22 07:12:57 UTC
Hi,
If you please...

-- code --
#include <vector>

int func() {
  auto v = std::vector<int>{};
  return v.size();
}
-- end code --

g++ (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1

GNU Tool collection

If I replace auto v with std::vector<int> v, NB finds std::vector<T>::size() const as expected and no red underscores occur even after I return auto declaration.

Best regards,
Sergey
Comment 4 petrk 2014-11-21 11:44:40 UTC

*** This bug has been marked as a duplicate of bug 247031 ***