Using __cplusplus to check the version of C++ that is used by compiler.
__cplusplus
[1] Replacing text macros [2] Standard Predefined Macros