Boost logo

Boost :

Subject: Re: [boost] [safe_numerics] Last three days
From: John Maddock (jz.maddock_at_[hidden])
Date: 2017-03-10 21:07:32


On 10/03/2017 20:32, Steven Watanabe via Boost wrote:
> AMDG
>
> On 03/10/2017 12:25 PM, John Maddock via Boost wrote:
>> Update: I now have a version which builds and runs all the tests with
>> VC2017, the fixes required are here:
>> https://github.com/robertramey/safe_numerics/pull/33
>>
> It's a bit more complex than it needs to be:
> - msvc_max isn't needed. msvc accepts max(x, y).

Not quite: that was my first fix, but many tests failed with internal
compiler errors inside std::max :(

> - boost::core::demangle does all the #ifdef'ing for you.

I wish I'd known that!

Thanks, John.

---
This email has been checked for viruses by AVG.
http://www.avg.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk