title: C++ short-circuiting of booleans
body: <p>I'm new to c++ and am curious how the compiler handles lazy evaluation of booleans. For example,</p>
  
  <pre><code>if(A == 1 || B == 2){...}
  </code></pre>
  
  <p>If A does equal 1, is the B==2 part ever evaluated?</p>