Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50880 - branches/release/libs/utility
From: emil_at_[hidden]
Date: 2009-01-29 14:14:06


Author: emildotchevski
Date: 2009-01-29 14:14:05 EST (Thu, 29 Jan 2009)
New Revision: 50880
URL: http://svn.boost.org/trac/boost/changeset/50880

Log:
This html was outdated; changed to forward to throw_exception.html documentation from Boost Exception
Text files modified:
   branches/release/libs/utility/throw_exception.html | 69 +++++++--------------------------------
   1 files changed, 13 insertions(+), 56 deletions(-)

Modified: branches/release/libs/utility/throw_exception.html
==============================================================================
--- branches/release/libs/utility/throw_exception.html (original)
+++ branches/release/libs/utility/throw_exception.html 2009-01-29 14:14:05 EST (Thu, 29 Jan 2009)
@@ -1,58 +1,15 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
- <head>
- <title>Boost: throw_exception.hpp documentation</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- </head>
- <body bgcolor="white" style="MARGIN-LEFT: 5%; MARGIN-RIGHT: 5%">
- <table border="0" width="100%">
- <tr>
- <td width="277"> boost.png (6897 bytes)
- </td>
- <td align="center">
- <h1>throw_exception.hpp</h1>
- </td>
- </tr>
- <tr>
- <td colspan="2" height="64">&nbsp;</td>
- </tr>
- </table>
- <p>
- The header <STRONG>&lt;boost/throw_exception.hpp&gt;</STRONG> defines the
- helper function <STRONG>boost::throw_exception</STRONG>. It is intended to be
- used in Boost libraries that need to throw exceptions, but support
- configurations and platforms where exceptions aren't available, as indicated by
- the presence of the <STRONG>BOOST_NO_EXCEPTIONS</STRONG> <A href="../config/config.htm#macro_ref">
- configuration macro</A>.
- </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. 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
-{
-
-#ifdef BOOST_NO_EXCEPTIONS
-
-void throw_exception(std::exception const &amp; e); // user defined
-
-#else
-
-template&lt;class E&gt; void throw_exception(E const &amp; e)
-{
- throw e;
-}
-
-#endif
-
-}
-</pre>
- <p><br>
- <small>Copyright © 2002 by Peter Dimov. Distributed under the Boost Software License, Version
- 1.0. See accompanying file LICENSE_1_0.txt or
- copy at http://www.boost.org/LICENSE_1_0.txt.</small></p>
- </body>
+<head>
+<meta http-equiv=refresh content="0; URL=../exception/doc/throw_exception.html">
+<title>Automatic redirection</title>
+</head>
+<body>
+Automatic redirection failed, please go to
+throw_exception.html.&nbsp;<hr>
+<p>© Copyright Beman Dawes, 2001</p>
+<p>Distributed under the Boost Software License, Version 1.0. (See accompanying
+file LICENSE_1_0.txt or copy
+at www.boost.org/LICENSE_1_0.txt)</p>
+</body>
 </html>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk