IEEE norm version number

From: Jerome CORNET <jerome.cornet@st.com>
Date: Thu Mar 25 2010 - 02:38:11 PDT

Hello all,

speaking of macros, I don't know if this has been planned, but it would
be great (and standard practice)
to specify a way to retrieve the version number of the norm that an
implementation is following.
(In our case that would be either 2005 or 2010 for now).

The ISO C standard defines a macro __STDC__VERSION__ whose value is
199901L (integer long) for C99.
ISO C++ also defines a macro, __cplusplus with value 199711L.

Jerome

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Mar 25 02:38:27 2010

This archive was generated by hypermail 2.1.8 : Thu Mar 25 2010 - 02:38:28 PDT