I\'m new to c++ and am curious how the compiler handles lazy evaluation of booleans. For example,
if(A == 1 || B == 2){...}
If A does equal
This is short-circuit evaluation, as James says. Lazy evaluation is something entirely different.