Boost C++ Libraries: Ticket #8176: multiprecision, correct code with cpp_rational doesn't compile https://svn.boost.org/trac10/ticket/8176 <p> This code gives me a lenghty error messaage: </p> <pre class="wiki">#include &lt;boost/multiprecision/cpp_int.hpp&gt; int main() { boost::multiprecision::cpp_rational a; boost::multiprecision::cpp_int b; a = -b + a; return 0; } </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8176 Trac 1.4.3 John Maddock Fri, 01 Mar 2013 13:15:59 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8176#comment:1 https://svn.boost.org/trac10/ticket/8176#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/83227" title="Fix operators that operate on unary-negated expressions. Suppress some ...">[83227]</a>) Fix operators that operate on unary-negated expressions. Suppress some MSVC specific warnings. Fix some bugs exposed by above changes and add new test cases. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8176" title="#8176: Bugs: multiprecision, correct code with cpp_rational doesn't compile (closed: fixed)">#8176</a>. </p> Ticket