Boost logo

Boost :

Subject: Re: [boost] Broken unary_functions in numeric conversions
From: John Maddock (jz.maddock_at_[hidden])
Date: 2017-08-22 11:45:35


On 22/08/2017 11:19, Klaim - Joël Lamotte via Boost wrote:
> On 20 August 2017 at 23:05, Gary Furnish via Boost <boost_at_[hidden]>
> wrote:
>
>> SHA-1: 2009f0d4fc49a6db59b950a3140f8d1f58e1a8c6
>>
>> * Revert "removed deprecated std::unary_function from various
>> conversion functors"
>>
>> This reverts commit 593aafab5a7aba86f14df5f9a14a53fc4353bb00.
>>
>> Without this commit
>> boost\libs\numeric\conversion\include\boost\numeric\
>> conversion\detail\converter.hpp
>> is broken on MSVC C++17. (See
>> https://svn.boost.org/trac10/ticket/12972)
>> This is still fixed in develop, does anyone know why the changes were
>> reverted? Can we get someone to actually recommit a fix? Is numeric
>> conversion abandoned? It doesn't look like it has been touched in
>> over a year.
>> Thanks
>>
> I don't know why it have been reverted, but I wonder: is it supposed to
> work with C++11 and previous
> if you don't have these inheritance? Should it be conditional? I suspect it
> might have been the reason.

This is hitting me as well, and I'd like it fixed, in fact I think I
asked about the revert on GitHub, but haven't got a reply. There was
some discussion about it here:
https://lists.boost.org/Archives/boost/2017/04/234575.php but apparently
no resolution :(

---
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