Useful predefined macros

ghy / 2023-09-03 / 原文

Using __cplusplus to check the version of C++ that is used by compiler.

Reference

  • [1] Replacing text macros