Boost logo

Boost :

Subject: Re: [boost] [bind] Placeholders suggestion, std and boost
From: Peter Dimov (lists_at_[hidden])
Date: 2015-05-29 16:31:22


Fletcher, John P wrote:
> When the placeholders were moved there was also a change in the way they
> are defined in bind/placeholders.hpp
>
> There were three different definitions which were decided using various
> compiler definitions.
>
> That has now been simplified to two versions, based only on
>
> #if defined(BOOST_NO_CXX11_CONSTEXPR)
> // one option (non C++11)
> #else
> //another option
> #endif
>
> This action is breaking some code, in particular bind_interoperation_test
> on boost phoenix develop for non-C++11 test cases
>
> Initial tests show that replacing the one non C++11 with the previous
> three cases restores the test.
>
> Would you please look at this?

Yes, I will. Marcel Raad also reported this breakage. I'll experiment with
other "cleaned-up" placeholder definitions until we find one that is
reasonably backward-compatible.


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