The OpenD Programming Language

__cplusplus

Returns the target C++ version, encoded as C++ compilers do

C++ compilers provide a __cplusplus macro which returns an integer representing the targetted standard. This manifest provides the same interface, retrieved from the compiler via a __traits.

@nogc
enum __cplusplus = __traits(getTargetInfo, "cppStd");

Meta