or is not valid C++ : why does this code compile?

后端 未结 3 1796
难免孤独
难免孤独 2020-12-03 10:21

Here is a very simple C++ application I made with QtCreator :

int main(int argc, char *argv[])
{
    int a = 1;
    int b = 2;

    if (a < 1 or b > 3)         


        
3条回答
  •  一向
    一向 (楼主)
    2020-12-03 10:45

    iso646.h defines a number of operator alternatives - it's part of the C++ standard.

提交回复
热议问题