Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » shared_ptr dereferencing again(shared_ptr)
shared_ptr dereferencing again [message #919072] Fri, 21 September 2012 12:53
Eclipse UserFriend
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
Previous Topic:__I Syntax error
Next Topic:Updating the GCC on OSX 10.8
Goto Forum:
  


Current Time: Sun Jun 22 02:36:55 EDT 2025

Powered by FUDForum. Page generated in 0.05724 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top