获取Eclipse CDT + boost :: shared_ptr< T>使用语法完成? [英] Get Eclipse CDT + boost::shared_ptr<T> to work with syntax completion?

查看:185
本文介绍了获取Eclipse CDT + boost :: shared_ptr< T>使用语法完成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何让Eclipse CDT将shared_ptr视为T *语法完成?

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

我在这个实例中使用Windows。我在Program Files文件夹中有1.39。我即将尝试1.37。

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

我使用的是Galileo的Eclipse版本。此外,我只是在Eclipse中编辑和浏览源代码,并在VC ++ Express中构建。 (但这是另一个故事)

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)

推荐答案

你使用什么版本的boost?

What version of boost are you using?

根据此主题


事实证明,有一点关于Boost 1.39的CDT索引器不喜欢。

如果我允许CDT索引提升1.36然后自动完成对于typedef的元素的工作,如下所示。

如果我允许它仅索引1.39,那么相同的自动完成将不起作用。

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.

(发生于 CDT5或6

这篇关于获取Eclipse CDT + boost :: shared_ptr< T>使用语法完成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆