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

How to get Eclipse CDT to handle shared_ptr as T * to complete syntax?

I use windows in this instance. I have 1.39 in the "Program Files" folder. I am going to try 1.37.

I am using the Galileo release for Eclipse. In addition, I am only editing and viewing the source in Eclipse and building in VC ++ Express. (but this is another story)

+3
source share
4 answers

What version of boost are you using?

According to this thread :

, - Boost 1.39, CDT .
CDT boost 1.36, typedef, .
1,39, .

( CDT5 6)

+4

Eclipse CDT boost 1.37 ( 1.36, " " ) .

, boost (1.39), :

  • (1.35 1.39) .
  • (/) include boost.
  • include boost.
  • Indexer "Build Configuration for Indexer" " " > ""

, boost. , . , , !

+2

Eclipse 3.6 M5 ( Helios milestone) CDT 7.0, boost:: shared_ptr, Eclipse 3.5 CDT 6. Boost 1.40, , .

You can try the new build by going to http://www.eclipse.org/downloads/ , selecting "Development Builds", and then choosing "Eclipse for C / C ++" as usual.

+1
source

It has been a source of frustration for me for a long time, but after a recent upgrade to Galileo and CDT 6, it now works!

Boost: 1.39
CDT: 6.0.2.201002161416

Hope this helps.

0
source

Source: https://habr.com/ru/post/1719377/


All Articles