12345678910111213141516171819202122232425262728293031323334353637 |
- <?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
- <boost/safe_numerics/exception_policy.hpp>
- </code></ulink></code></para>
- </section>
- <section>
- <title>Example of use</title>
- <programlisting>safe<int, native, ignore_exception> st(4);</programlisting>
- </section>
- </section>
|