mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-05 15:54:39 +02:00
try to workaround GCC/Linux 'assert' bug
[SVN r25708]
This commit is contained in:
@@ -19,12 +19,12 @@
|
|||||||
|
|
||||||
#if !BOOST_WORKAROUND(__BORLANDC__, < 0x600)
|
#if !BOOST_WORKAROUND(__BORLANDC__, < 0x600)
|
||||||
# define INTEGRAL_WRAPPER_RUNTIME_TEST(i, T) \
|
# define INTEGRAL_WRAPPER_RUNTIME_TEST(i, T) \
|
||||||
assert(WRAPPER(T,i)() == i); \
|
assert(( WRAPPER(T,i)() == i )); \
|
||||||
assert(WRAPPER(T,i)::value == i); \
|
assert(( WRAPPER(T,i)::value == i )); \
|
||||||
/**/
|
/**/
|
||||||
#else
|
#else
|
||||||
# define INTEGRAL_WRAPPER_RUNTIME_TEST(i, T) \
|
# define INTEGRAL_WRAPPER_RUNTIME_TEST(i, T) \
|
||||||
assert(WRAPPER(T,i)::value == i); \
|
assert(( WRAPPER(T,i)::value == i )); \
|
||||||
/**/
|
/**/
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user