The OpenD Programming Language

CppStdRevision

Possible values of the __cplusplus macro provided by C++ compilers

For foolproofness, use ordering comparison, e.g. __cplusplus >= CppStdRevision.cpp17.

Values

ValueMeaning
cpp98199711
cpp11201103
cpp14201402
cpp17201703
cpp20202002

Meta