Home > Backend Development > C++ > body text

Why is __cplusplus Still Defined as 199711L in Visual Studio 2012, Despite C 11 Support?

Barbara Streisand
Release: 2024-11-06 05:49:02
Original
784 people have browsed it

Why is __cplusplus Still Defined as 199711L in Visual Studio 2012, Despite C  11 Support?

Visual Studio 2012: __cplusplus and C 11

Question:

Despite Visual Studio 2012 supporting C 11, why is the __cplusplus macro defined as 199711L, which corresponds to the "old" C ? This value remains unchanged even when C 11 headers are included.

Answer:

This issue has been brought to Microsoft's attention for review:

https://connect.microsoft.com/VisualStudio/feedback/details/759121/a-value-of-predefined-macro-__cplusplus-is-still-199711l

The above is the detailed content of Why is __cplusplus Still Defined as 199711L in Visual Studio 2012, Despite C 11 Support?. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!