Boost logo

Boost Users :

Subject: Re: [Boost-users] [release] Boost 1.64.0 Beta 1
From: Rainer Deyke (rainerd_at_[hidden])
Date: 2017-03-26 06:43:08


On 26.03.2017 04:25, Edward Diener via Boost-users wrote:
> On 3/25/2017 8:02 AM, Rainer Deyke via Boost-users wrote:
>> I'm getting a lot of compile errors with Boost.Rational. In particular,
>> expressions in the form 'rational<int>(a, b)', where 'a' or 'b' are
>> different integer types (both convertible to 'int'), no longer compile.
>
> Can you please give an example of some constructor which worked in 1.63
> not working in the 1.64 beta ?

#include <boost/rational.hpp>

int main() {
   boost::rational<int> r(1u, 1);
}

-- 
Rainer Deyke - rainerd_at_[hidden]

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net