mirror of
https://github.com/boostorg/random.git
synced 2026-02-26 17:02:15 +00:00
Random: disable incorrect use of constexpr for now.
Authorized by Beman. [SVN r72861]
This commit is contained in:
@@ -22,7 +22,9 @@ namespace boost {
|
||||
namespace random {
|
||||
namespace detail {
|
||||
|
||||
#if !defined(BOOST_NO_CONSTEXPR)
|
||||
// Daniel James: Disabled use of constexpr because integer_log2_impl is not a
|
||||
// valid constexpr.
|
||||
#if 0 && !defined(BOOST_NO_CONSTEXPR)
|
||||
#define BOOST_RANDOM_DETAIL_CONSTEXPR constexpr
|
||||
#elif defined(BOOST_MSVC)
|
||||
#define BOOST_RANDOM_DETAIL_CONSTEXPR __forceinline
|
||||
|
||||
Reference in New Issue
Block a user