Given a C++ function foo:
bool foo();
and the following lines of code
bool some_bool = false;
some_bool = some_bool and foo();
I observed that foo() is not called although it might have side-effects. What is the name of this behavior and is it compiler-dependent?
 
     
     
    