Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get Eclipse CDT + boost::shared_ptr<T> to work with syntax completion?

How to get Eclipse CDT to treat shared_ptr as T * for syntax completion?

I'm using windows in this instance. I have 1.39 in the "Program Files" folder. I am about to try 1.37.

I am using the Galileo release of Eclipse. Also, I am only editing and browsing the source in Eclipse and building in VC++ Express. (but that is another story)

like image 318
JeffV Avatar asked Dec 02 '25 19:12

JeffV


1 Answers

What version of boost are you using?

According to this thread:

Turns out there is something about Boost 1.39 that the CDT indexer does not like.
If I allow CDT to index boost 1.36 then auto-complete works for typedef'ed elements like below.
If I allow it to index only 1.39 then the same auto-completion does not work.

(Happens with CDT5 or 6)

like image 62
VonC Avatar answered Dec 04 '25 20:12

VonC