Home > Article > Backend Development > 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!