C++ keyword: and
From cppreference.com
Usage
- alternative operators: as an alternative for
&&
Example
Run this code
int main() { static_assert((false and false) == false); static_assert((false and true) == false); static_assert((true and false) == false); static_assert((true and true) == true); }