This question already has an answer here:
I tought my VS 2015 use the new C++11 compiler version. Does I have missed somewhat? I tried different Platform Toolset: v90 ..v140. None helps.
Used code to check the C++ compiler version: How to get the C++ version
// Print the current used C++ version
void PrintCPlusPlus_Version()
{
int version = __cplusplus;
if (__cplusplus == 201103L) std::wcout << "C++11\n";
else if (__cplusplus == 199711L) std::wcout << "C++98\n";
else std::wcout << "pre-standard C++\n";
}
The console output is: C++98 for all Plattform Toolset
Aucun commentaire:
Enregistrer un commentaire