safe_numerics/doc/boostbook/ignore_exception.xml
Robert Ramey 63dd89210e Enabled Boost Book syntax highlighting
improved TOC and chunking.  This is complicated by the fact we that we desire different depths.
put copies of boost logo in subdirectories
2016-02-07 14:38:06 -08:00

38 lines
1.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE section PUBLIC "-//Boost//DTD BoostBook XML V1.1//EN"
"http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
<section id="safe_numerics.exception_policies.ignore">
<title>ignore_exception</title>
<section>
<title>Description</title>
<para>This exception policy can be used to just ignore conditions which
generate incorrect arithmetic results and continue processing. Programs
using this policy along with the <link
linkend="safe_numerics.promotion_policies.native">native</link> promotion policy
should function as if the library is not even being used.</para>
</section>
<section>
<title>Model of</title>
<para><link
linkend="safe_numerics.promotion_policy">ExceptionPolicy</link></para>
</section>
<section>
<title>Header</title>
<para><code><ulink url="../../include/exception_policy.hpp"><code>#include
&lt;boost/safe_numerics/exception_policy.hpp&gt;
</code></ulink></code></para>
</section>
<section>
<title>Example of use</title>
<programlisting>safe&lt;int, native, ignore_exception&gt; st(4);</programlisting>
</section>
</section>