|shared_ptr dereferencing again [message #919072]
||Fri, 21 September 2012 16:53
| Sunil Matta
Registered: April 2012
shared_ptr dereferencing and code completion doesnt work in cdt|
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 ??
Also an issue is that I am getting std::for_each as unresolved symbol.
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.
Powered by FUDForum
. Page generated in 0.01677 seconds