[PATCH. libstdc++] Use the correct C++14 __cplusplus value (201402L). Added C++1z to the preprocessor.

Paolo Carlini paolo.carlini@oracle.com
Tue Aug 26 08:28:00 GMT 2014


Hi,

On 08/24/2014 12:37 AM, Ed Smith-Rowland wrote:
> With revision 214400 we have the C++14 value of __cplusplus set to the 
> correct value of 201402L (from 201300L).
It occurs to me: instead of having to remember every time those numbers, 
couldn't we predefine, for example:

     __cplusplus_98
     __cplusplus_11
     __cplusplus_14

with the correct values of course?!?

Thanks,
Paolo.



More information about the Libstdc++ mailing list