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

后端 未结 7 1207
后悔当初
后悔当初 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:10

    They were added because some of those characters are difficult to type on some keyboards.

提交回复
热议问题