Is if (condition) try {...} legal in C++? : <p>For example:</p>

<pre><code>if (true) try
{
    // works as expected with both true and false, but is it legal?
}
catch (...)
{
    // ...
}
</code></pre>

<p>In other words, is it legal to put the try-block <em>right after the if condition</em>?</p>
