what does "throw;" outside a catch block do?
<p>I just stumbled this code:</p>

<pre><code>void somefunction()
{
   throw;
}
</code></pre>

<p>and I wonder: what does it mean?</p>

<hr>

<p>I tagged the question as C++ and Visual C++ because I did not know the answer. The answer could have been related to the standard or to a special Visual C++ extension or to Visual C++ ignoring the standard. That's why I thought both tags are justified.</p>
