Boost logo

Boost :

From: Glen Fernandes (glen.fernandes_at_[hidden])
Date: 2019-10-08 11:39:12


On Tue, Oct 8, 2019 at 5:23 AM Deniz Bahadir via Boost
<boost_at_[hidden]> wrote:
> I just stumbled across a compilation-error with the latest Boost release
> (1.71) of Boost.MSM for which I already provided a merge-request [1] a
> year ago, and which was merged to "develop" branch at that time, too.
>
> [1] https://github.com/boostorg/msm/pull/15

The __cplusplus < 201703L check should probably be:
defined(BOOST_NO_CXX98_RANDOM_SHUFFLE)

As for the __cplusplus >= 201103L check it would be nice it were
something like: !defined(BOOST_NO_CXX11_HDR_ALGORITHM) or
!defined(BOOST_NO_CXX11_STD_SHUFFLE) but we don't have those two
macros yet.

(But any implementation for which
defined(BOOST_NO_CXX98_RANDOM_SHUFFLE) is true is probably going to
have std::shuffle).

Glen


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