C++0x 的哪些功能将确定保留(如果有)?
C++0x 是否有任何已知的特性? 也许就像标准库中的线程一样?
Are there any features of C++0x that are known to be there for sure?
Like, maybe, threads in the standard library?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
实际上没有。 在标准发布之前的任何时候,ISO 都可以对其进行更改,因为它会受到投票过程的变幻莫测的影响。
事实上,当前草案中的任何主要功能都将保留(尽管可以进行调整)。 他们已经表示他们将错过 2009 年的交付,而 ISO 与任何国家一样都是政治野兽,因此他们不想再错过另一场交付。
因此,虽然您不会看到元组、线程或其他主要库更改被删除,但可能会有细微的变化,但不会对标准的交付产生重大影响(希望供应商能够及时实施)。
Actually none. At any point up to the publication of the standard, ISO can change it, since it's subject to the vagaries of the voting process.
In reality, any major feature that's currently in the draft will remain (although tweaking is possible). They've already stated that they'll miss their 2009 delivery and ISO is as political a beast as any country, so they'll not want to miss another one.
So while you won't see tuples or threads or other major library changes being removed, there could be minor variations, nothing that will have a major impact on delivery of the standard (and hopefully, timely implementation by the vendors).
auto
类型推导仅举出 TR1 的一些和大部分)。
看一下 C++0x Wikipedia 文章 - 但它最好咨询您的编译器供应商,了解您可以使用什么。
auto
type deductionto name a few and most of TR1.
Take a look at the C++0x Wikipedia article -- but it is best to check with your compiler vendor to know what you can use.