msvc-cplusplus-macroΒΆ
With the
MSVCcompiler from Visual Studio 2017 version 15.7 or above, the/Zc:__cplusplusflag is now passed when compiling C++ sources so that the__cpluspluspreprocessor macro reports the selected C++ standard. See policyCMP0232.