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.
First sample: - Open this file ----------------------------------------------- #include <stdlib.h> #include <vector> #include <iostream> using namespace std; class coord { public: static const int i = 1; static int j; int g() const{ return f(); } int f() { cout << "returned j\n"; return j; } int f() const { cout << "returned i\n"; return i; } }; int coord::j = 2; int main(int argc, char** argv) { vector<int> v; coord c1; int i = c1.f(); int j = c1.g(); return (EXIT_SUCCESS); } ----------------------------------------------- - Type "c1." in 'main()' function ==> I see 2 identical 'f() int' items
Other sample: - Open this file --------------------------------------------------------- #include <stdlib.h> #include <vector> #include <iostream> using namespace std; int main(int argc, char** argv) { vector<int> v; v.begin(); return (EXIT_SUCCESS); } --------------------------------------------------------- - Type "v." in 'main()' function ==> I see a lot of similar items in code completion listbox: ... at(size_type n) reference at(size_type n) const_reference back() const_reference back() reference begin() const_iterator begin() iterator ...
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. We apologize for any inconvenience. Thank you. The NetBeans Team