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.
typedef boost::tuple<int, int> IntIntTuple; IntIntTuple foo = boost::tuples::make_tuple(0, 0); int a = foo.get<0>(); int b = foo.get<1>(); foo.get<0>(); and foo.get<1>(); gets their .get() method underlined in red. Without the typedef, it works fine.
It appears that the error happens regardless of typedef. I suspect the Code Parser isn't parsing boost::tuple correctly.
Some set of accuracy tests should run on Windows
compilable code example: #include "boost/tuple/tuple.hpp" int main (int argc, char** argv) { typedef boost::tuple<int, int> IntIntTuple; IntIntTuple foo = boost::tuples::make_tuple(0, 0); int a = foo.get<0>(); // unresolved get int b = foo.get<1>(); // unresolved get return 0; }