Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » shared_ptr dereferencing again(shared_ptr)
shared_ptr dereferencing again [message #919072] Fri, 21 September 2012 16:53
Sunil Matta is currently offline Sunil MattaFriend
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
Previous Topic:__I Syntax error
Next Topic:Updating the GCC on OSX 10.8
Goto Forum:
  


Current Time: Thu Apr 25 20:58:42 GMT 2024

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

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

Back to the top