"If a worker wants to do his job well, he must first sharpen his tools." - Confucius, "The Analects of Confucius. Lu Linggong"
Front page > Programming > What new C++11 features does Visual Studio 2012 offer compared to Visual Studio 2010?

What new C++11 features does Visual Studio 2012 offer compared to Visual Studio 2010?

Published on 2024-11-24
Browse:606

What new C  11 features does Visual Studio 2012 offer compared to Visual Studio 2010?

C++ 11 Features in Visual Studio 2012

With the preview release of Visual Studio 2012 (the next version after VS2010), Many developers are eager to know about its support for the C 11 language standard.

Visual Studio 2010 already provides partial early support for C 11. Compared with Visual Studio 2010, the following features are new in Visual Studio 2012:

  • rvalue reference version upgraded to 2.1
  • lambda expression version upgraded to 1.1
  • decltype version upgraded to 1.1 (not yet available in developer preview)
  • Alignment enhancements, but not yet complete
  • Complete strongly typed enums
  • Forward-declarable enums
  • mark Quasi-layout and normal types
  • Atomic types
  • Strong comparison and exchange
  • Bidirectional memory barrier
  • Data dependency ordering
  • Range-based of for loop

In early November 2012, Microsoft announced the Visual C Compiler November 2012 CTP, adding more C 11 to Visual Studio 2012 Function:

  • Uniform initialization
  • Initializer list
  • Variable parameter template
  • Function template default parameters
  • Delegated constructor
  • Explicit conversion operator
  • Raw string
Latest tutorial More>

Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.

Copyright© 2022 湘ICP备2022001581号-3