1<?xml version="1.0" encoding="UTF-8"?> 2<!DOCTYPE section PUBLIC "-//Boost//DTD BoostBook XML V1.1//EN" 3"http://www.boost.org/tools/boostbook/dtd/boostbook.dtd"> 4<section id="safe_numerics.exception_policies.ignore"> 5 <title>ignore_exception</title> 6 7 <section> 8 <title>Description</title> 9 10 <para>This exception policy can be used to just ignore conditions which 11 generate incorrect arithmetic results and continue processing. Programs 12 using this policy along with the <link 13 linkend="safe_numerics.promotion_policies.native">native</link> promotion policy 14 should function as if the library is not even being used.</para> 15 </section> 16 17 <section> 18 <title>Model of</title> 19 20 <para><link 21 linkend="safe_numerics.promotion_policy">ExceptionPolicy</link></para> 22 </section> 23 24 <section> 25 <title>Header</title> 26 27 <para><code><ulink url="../../include/exception_policy.hpp"><code>#include 28 <boost/safe_numerics/exception_policy.hpp> 29 </code></ulink></code></para> 30 </section> 31 32 <section> 33 <title>Example of use</title> 34 35 <programlisting>safe<int, native, ignore_exception> st(4);</programlisting> 36 </section> 37</section> 38