title: Is there an equivalent to the "for ... else" Python loop in C++?
body: <p>Python has an interesting <code>for</code> statement which lets you specify an <code>else</code> clause.</p>
  
  <p>In a construct like this one:</p>
  
  <pre><code>for i in foo:
    if bar(i):
      break
  else:
    baz()
  </code></pre>
  
  <p>the <code>else</code> clause is executed after the <code>for</code>, but only if the <code>for</code> terminates normally (not by a <code>break</code>).</p>
  
  <p>I wondered if there was an equivalent in C++? Can I use <code>for ... else</code>?</p>