有使用特定于2012年11月CTP的C ++ 11功能时,抑制Intellisense错误的方法吗? [英] Is there a way to suppress Intellisense errors when using C++11 features specific to November 2012 CTP?

查看:132
本文介绍了有使用特定于2012年11月CTP的C ++ 11功能时,抑制Intellisense错误的方法吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的代码编译和运行很好(到目前为止...),但是,因为

My code compiles and runs just fine (so far...), however, because Visual Studio's Intellisense doesn't yet support the C++11 features new to the 2012 CTP's compiler:

有大块的完美(虽然实验)代码下划线红色往往会让我失望。有没有办法告诉Intellisense忽略特定位置的错误?

Having chunks of perfectly good (albeit experimental) code underlined red tends to throw me off a bit. Is there a way to tell Intellisense to ignore errors in specific places?

有人推荐一个已经提供正确的语法高亮和检查这些新功能的IDE(具体来说,委托)

Can someone recommend an IDE that already offers proper syntax highlighting and checking for these new features (specifically, delegating constructors, initializer lists and variadic templates, these are the ones that got me hooked)?

推荐答案

我很相信你

CTP独立更新编译器,而不是Intellisense。 Intellisense是基于EDG的前端,CTP不更新(即使不考虑CTP,Intellisense和编译器可能有时不同意,因为这一点)。另请参阅这个Q& A on SO ,以获得澄清。

The CTP independently updates the compiler only, not Intellisense. Intellisense is based on EDG's front-end, which the CTP does not update (even regardless of the CTP, Intellisense and the compiler might disagree at times because of this). See also this Q&A on SO for a clarification.

当然,您可以完全禁用Intellisense,但我不认为这是您要求的。

You can, of course, disable Intellisense completely, but I don't think that's what you were asking for.

这篇关于有使用特定于2012年11月CTP的C ++ 11功能时,抑制Intellisense错误的方法吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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