Better way to call a function only once in a code snippet in c++ when we don't care about return value?
<p>Just curious if it is syntactically possible to do something like this:</p>

<pre><code>static (void) someFunc();
</code></pre>

<p>instead of, say,</p>

<pre><code>static bla = someFunc();
</code></pre>

<p>so as to invoke <code>someFunc</code> only once when we go through that section of code? The (void) snippet doesn't compile by the way.</p>
