Added a note that throw_exception must not return (Beman Dawes)

[SVN r16471]
This commit is contained in:
Peter Dimov
2002-12-02 12:12:42 +00:00
parent 8fcfa33d33
commit 97605056ed

View File

@@ -28,7 +28,9 @@
</p>
<P>When <STRONG>BOOST_NO_EXCEPTIONS</STRONG> is not defined, <tt>boost::throw_exception(e)</tt>
is equivalent to <tt>throw e</tt>. Otherwise, the function is left undefined,
and the user is expected to supply an appropriate definition.</P>
and the user is expected to supply an appropriate definition. Callers of <tt>throw_exception</tt>
are allowed to assume that the function never returns; therefore, if the
user-defined <tt>throw_exception</tt> returns, the behavior is undefined.</P>
<h3><a name="Synopsis">Synopsis</a></h3>
<pre>
namespace boost