mardi 28 juillet 2020

C++ version is 98 (199711) but I can still work with C++11 features [duplicate]

2 related questions:

How come my C++ version is 98 (199711) but can work with Lambdas and other C++11 features.

And also - in my project properties (on VS 2019) I tried to reconfigure the language, to be the latest instead of the default. I added /std:c++latest to the 'additional options' and also configured the language to be C++17 but still, when I print the C++ version (__cplusplus) I get 199711.

Aucun commentaire:

Enregistrer un commentaire