Alternative tokens (not, and, etc…) in VisualStudio 2013

后端 未结 3 1432
栀梦
栀梦 2020-12-07 02:46

The \"not\", \"and\", etc... are keywords in C++ (macros in C). Is there any way to \"enable\" them in Visual Studio 2013? I\'m able to use the words as macroses with

3条回答
  •  无人及你
    2020-12-07 02:50

    On a more recent version of VS (tested on Version 15.7.0 Preview 3.0); ensure that conformance mode is set for visual studio:

    It then compiles with the alternative operator representations.

提交回复
热议问题