Boost logo

Boost :

Subject: Re: [boost] Visual Studio 2015 Update 3 has removedstd::unary_functionand std::binary_function
From: Peter Dimov (lists_at_[hidden])
Date: 2016-11-07 07:22:46


Daniel James wrote:
> On 6 November 2016 at 23:31, Peter Dimov <lists_at_[hidden]> wrote:
> >
> > For smart_ptr to go all green, functional/hash needs to be fixed as
> > well.
>
> Is there something wrong with this? I haven't got Visual C++, so I might
> have missed something.
>
> https://github.com/boostorg/functional/commit/281e11b2923249869cce3131a415118bb9e2f1e1

I hadn't updated the superproject when I ran my tests, sorry.

Yes, this works. I just tested it with msvc-cxxlatest-14.0. At some point
we'll want to use a dedicated Config macro for unary/binary_function, but
for now, _HAS_AUTO_PTR_ETC is OK, I suppose.


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