Boost logo

Boost :

Subject: Re: [boost] Boost numeric conversion - unary function deprecated or removed for C++17
From: Brandon Kohn (blkohn_at_[hidden])
Date: 2016-07-05 20:45:11


On 7/5/2016 14:16 PM, Billy O'Neal (VC LIBS) wrote:
> c++latest turns off _HAS_AUTO_PTR_ETC, which removes all the removed stuff like unary_function, yes. The fix is to remove use of unary_function and add the typedefs manually.
This seems reasonable. Is there an appropriate BOOST_XXX macro which I
could use to branch the use of unary_function for pre C++17 compilers?

Brandon


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