
8 Oct
2019
8 Oct
'19
11:39 a.m.
On Tue, Oct 8, 2019 at 5:23 AM Deniz Bahadir via Boost
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.
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