Boost C++ Libraries: Ticket #5393: cast.hpp does not compile with exceptions off https://svn.boost.org/trac10/ticket/5393 <p> boost/cast.hpp includes boost/numeric/conversion/cast.hpp which includes boost/numeric/conversion/converter.hpp which includes boost/numeric/conversion/converter_policies.hpp </p> <p> which uses throw (not boost::throw_exception) </p> <p> with exceptions off, you cannot use throw(), try, catch, etc. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5393 Trac 1.4.3 Antony Polukhin Mon, 05 Mar 2012 17:11:23 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5393#comment:1 https://svn.boost.org/trac10/ticket/5393#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/77234" title="Fixes #5731, fixes #5076, fixes #5393, fixes #5800 Now numeric_cast ...">[77234]</a>) Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5731" title="#5731: Bugs: Failure in boost/numeric/conversion when compiled without exceptions (closed: fixed)">#5731</a>, fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5076" title="#5076: Bugs: numeric/conversion/converter_policies.hpp won't build with gcc ... (closed: fixed)">#5076</a>, fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5393" title="#5393: Bugs: cast.hpp does not compile with exceptions off (closed: fixed)">#5393</a>, fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5800" title="#5800: Bugs: lexical_cast doesn't compile without exceptions (closed: fixed)">#5800</a> Now numeric_cast (and lexical_cast) can be compiled with disabled exceptions </p> Ticket