[Boost-bugs] [Boost C++ Libraries] #8176: multiprecision, correct code with cpp_rational doesn't compile

Subject: [Boost-bugs] [Boost C++ Libraries] #8176: multiprecision, correct code with cpp_rational doesn't compile
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-25 21:07:13


#8176: multiprecision, correct code with cpp_rational doesn't compile
--------------------------------------------------+-------------------------
 Reporter: Stepan Podoskin <stepik-777@…> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: multiprecision
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
--------------------------------------------------+-------------------------
 This code gives me a lenghty error messaage:
 {{{
 #include <boost/multiprecision/cpp_int.hpp>

 int main()
 {
     boost::multiprecision::cpp_rational a;
     boost::multiprecision::cpp_int b;
     a = -b + a;
     return 0;
 }

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8176>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC