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.
From CR 7082062. Sample: #include <tr1/memory.hpp> struct X { int n; }; struct Wrapper { X* p; Wrapper( X* p ) : p(p) {} ~Wrapper() { delete p; } X* operator->() { return p; } }; int f() { std::tr1::shared_ptr<X> x(new X); int n = x->n; Wrapper w(new X); n = w->n; return 0; }
patch candidates are P2s
fixed in cnd-main: http://hg.netbeans.org/cnd-main/rev/4d45e7c87058
I reviewed the fix. It is safe and correct
transplanted to releases_elif_blacktie/release701_fixes changeset: 204868:545daba7e2ee
correct respository: releases_elif/rev/2c98fe7d46a2
verified in Build oss-platform-build-59-on-20110916 the example is parsed w/o any errors in build59 and build66, but codecompletion stops working in build66, see bug202486
verified in patch2 (NetBeans IDE 7.0.1 (Build 201109292036))