2
0
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:
Daniel James
2011-07-02 20:26:19 +00:00
parent d72a14fb78
commit a734166dc2

View File

@@ -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