When did “and” become an operator in C++

后端 未结 7 1209
后悔当初
后悔当初 2020-12-05 18:00

I have some code that looks like:

static const std::string and(\" AND \");

This causes an error in g++ like so:

Row.cpp:140         


        
7条回答
  •  不知归路
    2020-12-05 18:11

    There are several such alternatives defined in C++. You can probably use switches to turn these on/off.

提交回复
热议问题