DEV Community

Discussion on: Modern C++ : `and`, `or` and `not` as Boolean Operators

Collapse
 
darthwalsh profile image
Carl Walsh

Interesting, I knew about trigraphs but apparently they went away in C++17. and isn't strictly a C language feature: it's a language keyword in C++ but is a macro in C.

Here's more docs on the and/or/not alternative operators: en.cppreference.com/w/cpp/language...