"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 C++11 Features are Supported in Visual Studio 2012?

What C++11 Features are Supported in Visual Studio 2012?

Published on 2024-11-06
Browse:725

What C  11 Features are Supported in Visual Studio 2012?

C 11 Features in Visual Studio 2012

With the recent release of a preview version of Visual Studio 2012, many developers are curious about the support for C 11 features. While Visual Studio 2010 already provided partial C 11 support, the new version offers expanded functionality.

New C 11 Features in Visual Studio 2012:

  • Rvalue References: Updated from version 2.0 to 2.1.
  • Lambdas: Enhanced from version 1.0 to 1.1.
  • Decltype: Version 1.1 (not yet available in developer preview).
  • Improved Alignment: Still incomplete.
  • Strongly-Typed Enums: Now completed.
  • Forward Declared Enums: Now supported.
  • Standard Layout and Trivial Types: Now supported.
  • Atomics: Available.
  • Strong Compare and Exchange: Implemented.
  • Bi-directional Fences: Supported.
  • Data-dependency Ordering: Available.
  • Range-based For Loop: Now available.

Additional C 11 Features Added with Visual C Compiler November 2012 CTP:

  • Uniform Initialization
  • Initializer Lists
  • Variadic Templates
  • Function Template Default Arguments
  • Delegating Constructors
  • Explicit Conversion Operators
  • Raw Strings
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