Subject: Re: [boost] [config] std::shuffle support
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2016-11-07 03:35:04
On 11/07/16 05:46, Edward Diener wrote:
> Does Boost config currently have a macro to determine whether the c++11
> std::shuffle algorithm is supported for a particular compiler ? If not
> supporting /std:c++latest by changing std::random_shuffle to
> std::shuffle will not be possible for c++03 libraries.
FWIW, in Boost.Log I'm using my local random_shuffle regardless of
the standard library version. Maybe that would be a better solution than
conditioning your code on config macros.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk