shared_ptr dereferencing again [message #919072] |
Fri, 21 September 2012 16:53 |
Sunil Matta Messages: 8 Registered: April 2012 |
Junior Member |
|
|
shared_ptr dereferencing and code completion doesnt work in cdt
eclipse: Juno
os: Fedora
1)
std::shared_ptr sp(new A);
sp->insertItem(..); // << this is flagged as an error even though insertItem(...) is a valid method for class A.
And code completion for sp-> shows nothing.
Code completion for the pointer does show the methods applicable on the pointer itself.
So the eclipse indexer cannot understand the overloaded -> operator ??
2)
Also an issue is that I am getting std::for_each as unresolved symbol.
really maddening...
ps: I can compile this on the command line successfully.
I have tried to clean project/re-build the indecies many times to no avail.
tia,
Sunil
|
|
|
Powered by
FUDForum. Page generated in 0.02975 seconds