原文: http://www.infoq.com/news/2012/11/nov12CTP
Microsoft's New Compiler Increases C++11 Compliance
微软新编译器增强了C++11的兼容性
On Friday Microsoft's Herb Sutter made a big announcement regarding the company's support for C++11 and the C++ community as a whole. When the company released VS2012, it was promised that its architecture was designed to support out-of-band releases bringing new features to the market quicker. However, Sutter's announcement marked the public unveiling of the November 2012 CTP which contains a new compiler that improves Visual C++'s support for the full C++11 standard. While not complete, it indicates the company is moving forwards.
在星期5时微软的Herb Sutter 发布了一个重大的通告,总的来说是关于公司对C++11和C++社区的支持。 当这个公司发布VS2012时,它承诺了VS2012的架构是被设计来支持out-of-band(带外的)发布版,它 可以更快的带给市场新的特性。然而,Sutter的公告揭露了2012 11月的CTP版本包含了一个新的编译器,这个编译器改进了Visual C++对C++11标准的支持。 虽然不是完整的,但是表明了这个公司正在向前发展.
During his introduction to the updates, Sutter commented that "[at] Microsoft we love [.NET], we love HTML5 and JavaScript, [but] we are built on C++". To provide further emphasize this support, he noted that more and more of modern Windows is written in C++ versus the C of Windows past.
在他介绍更新的同时,Sutter解释了"在微软我们爱.NET,我们爱HTML5和JavaScript,但是我们构建是基于C++的".为了提供更深的强调对C++的支持,他还笔记注明了越来越多的现代窗口是用C++写的,相对以前的C窗口。
This is important because in Sutter's opinion there is only one team that every other team depends on at Microsoft-- "every team (transitively) depends on Visual C++". That said, here are the new features available in this preview:
这是十分重要的,因为在Sutter的观点里,在微软仅有一个团队是其他团队要依赖于他们的 --"每个团队"(transitively)依赖于Visual C++"。那就是说,在预览版里有这些新特性.
- Explicit Conversion Operators
- Raw String Literals
- Function Template Default Arguments
- Delegating Constructors
- Uniform Initialization and initializer_lists (Vector initialization syntax not yet in CTP)
- Variadic Templates
* 显示转换操作符(Explicit Conversion Operators)
* 原生字符串(Raw String Literals)
* 函数模板默认参数(Function Template Default Arguments)
* 代理构造函数(Delegating Constructors)
* 统一初始化和初始化列表(可变数组初始化语法在CTP版本里还没有)Uniform Initialization and initializer_lists (Vector initialization syntax not yet in CTP)
* 可变参数模板(Variadic Templates)
Sutter was quick to point out that this is compiler only release, and it is a preview-- it should not be used with production code. (This preview is supported for use with VS2012 Express for Desktop.)
Sutter还迅速指出这个编译器仅仅是发布版,它是一个预览版。不应该用于生产环境的代码 (这个预览版也在VS2012桌面版的Express提供支持)
The CTP, formally titled "Visual C++ Compiler November 2012 CTP", isavailable from Microsoft now.Microsoft's Stephan T. Lavavej has released a new tour on Channel 9 that provides anoverview of these new features.
这个CTP版本,正式来说是"Visual C++ Compiler Noverber 2012 CTP",现在可以在Microsoft下载了,微软的Stephan T. Lavavej已经在Channel9发布了一个新的介绍,这个介绍提供了对新特性的概述。
Sutter remarks that Microsoft will continue to deliver out-of-band updates to VS2012, and that more C++11 updates will be forthcoming in the first half of 2013.
Sutter评论说微软将会持续对VS2012发送out-of-band的更新,同时更多的C++11更新将会在2013年上半年来临.
Up-Tempo ISO C++ Release Schedule
快节奏的ISO C ++发行计划
The CTP isn't the only announcement-- Microsoft, Google, IBM, Intel, and several other companies and organizations have united to form the Standard C++ Foundation in an effort to promote, guide, and develop the C++ language. The founding directors of this organization are Herb Sutter, Bjarne Stroustrup, Chandler Carruth (Google), Beman Dawes (Boost), Michael Wong (IBM), and Stefanus Du Toit (Intel).
这个CTP版本不是唯一的公告-- Microsoft, Google, IBM, Intel和其他许多公司和组织联合起来形成了标准的C++基金会,目的是想要促进,指导和开发C++语言。这个组织的创始董事是Herb Sutter, Bjarne Stroustrup, Chandler Carruth (Google), Beman Dawes (Boost), Michael Wong (IBM), and Stefanus Du Toit (Intel).
Sutter discussed that a new major C++ standard, C++17, has been scheduled for release in 2017. C++ will see a minor release scheduled for deployment in 2014. This represents a significant speed-up from prior release cadences (C++ 98, C++03, and C++11).
Sutter还说明了一个新的主要的C++标准C++17,计划将会在2017年发布.C++将会在2014年有一个较小的用于部署的(for deployment)发布计划.它代表了一个重大加速版本,
相比先前的版本的节奏(C++ 98, C++03, and C++11).
To broaden exposure and promote news about new C++ information, Sutter also announcedisocpp.org, which he described as "a home base for C++'s Rebel Alliance model".This site is intended to provide transparent and open communication about the standardization process as well as the latest useful information to those interested in modern C++ development.
为了扩大曝光度和发布关于新C++信息的新闻,Sutter也宣布了isocpp.org网站,这个网站被描述为"a home base for C++'s Rebel Alliance model".它想要提供一个透明的,开放的交流:关于C++标准的进程和关于对现代C++开发感兴趣的最新的有用的信息。