Title: Macro __cplusplus | hacking C++
Open Graph Title: Macro __cplusplus
X Title: Macro __cplusplus
Description: Overview of the standard values for the __cplusplus macro that can be used to detect the ISO C++ standard supported by the current compiler configuration.
Open Graph Description: Overview of the standard values for the __cplusplus macro that can be used to detect the ISO C++ standard supported by the current compiler configuration.
X Description: Overview of the standard values for the __cplusplus macro that can be used to detect the ISO C++ standard supported by the current compiler configuration.
Opengraph URL: https://hackingcpp.com/cpp/std/macro_cplusplus.html
X: @hackingcpp
Domain: hackingcpp.com
| None | 86400 |
| keyword | cpp macro preprocessor __cplusplus standard std version |
| author | André Müller |
| date | 2023-03-22 |
| copyright | 2019-2023 André Müller |
| theme-color | #0070C0 |
| og:image | https://hackingcpp.com/cpp/std/macro_cplusplus_card.png |
| og:site_name | hacking C++ |
| og:locale | en_US |
| og:type | article |
| twitter:card | summary_large_image |
| twitter:image | https://hackingcpp.com/cpp/std/macro_cplusplus_card.png |
| twitter:creator | @hackingcpp |
| hcpp-page-category | cat-article |
| hcpp-tags | C++ C++11 C++14 C++17 C++20 C++98 article modern-C++ preprocessor std-macros |
Links:
Viewport: width=device-width, initial-scale=1.0