As in the title,
is there a C++ preprocessor #define that defines the C++ version being compiled? Like a compile with clang++ -std=c++11 produces a define __CPP_VERSION or whatever.
The possible duplicate at How to determine the version of the C++ standard used by the compiler? is inaccurate.