mardi 29 août 2017

Is there a #define for the C++ version being compiled? [duplicate]

This question already has an answer here:

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.

Aucun commentaire:

Enregistrer un commentaire