What is the best way to write a loop with no body
<p>I have a function <code>func</code> which returns <code>true</code>  or <code>false</code>. Until <code>func</code> returns <code>false</code>, I want to keep calling it. What is the least awkward way to do this?</p>

<pre><code>do {
  // do nothing
} while (func());
</code></pre>

<p>or..</p>

<pre><code>while (func());
</code></pre>

<p>or..</p>

<pre><code>while (func())
  if (!func())
    break;
</code></pre>

<p>All of them look really awkward and unintuitive to me. Is there another solution to this altogether?</p>
