mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-05 15:54:39 +02:00
workaround GCC 3.4.1 bug
[SVN r24971]
This commit is contained in:
@@ -214,11 +214,12 @@ enum { \
|
|||||||
# if !defined(BOOST_MPL_CFG_ASSERT_BROKEN_POINTER_TO_POINTER_TO_MEMBER)
|
# if !defined(BOOST_MPL_CFG_ASSERT_BROKEN_POINTER_TO_POINTER_TO_MEMBER)
|
||||||
# define BOOST_MPL_ASSERT_RELATION(x, rel, y) \
|
# define BOOST_MPL_ASSERT_RELATION(x, rel, y) \
|
||||||
enum { \
|
enum { \
|
||||||
BOOST_PP_CAT(mpl_assert_rel,__LINE__) = sizeof(boost::mpl::assert_::arg rel boost::mpl::assert_::arg) \
|
BOOST_PP_CAT(mpl_assertion_in_line_,__LINE__) = sizeof( \
|
||||||
, BOOST_PP_CAT(mpl_assertion_in_line_,__LINE__) = sizeof( \
|
|
||||||
boost::mpl::assertion_failed<(x rel y)>( \
|
boost::mpl::assertion_failed<(x rel y)>( \
|
||||||
(boost::mpl::failed ************ ( boost::mpl::assert_relation< \
|
(boost::mpl::failed ************ ( boost::mpl::assert_relation< \
|
||||||
boost::mpl::assert_::relations(BOOST_PP_CAT(mpl_assert_rel,__LINE__)) \
|
boost::mpl::assert_::relations( sizeof( \
|
||||||
|
boost::mpl::assert_::arg rel boost::mpl::assert_::arg \
|
||||||
|
) ) \
|
||||||
, x \
|
, x \
|
||||||
, y \
|
, y \
|
||||||
>::************)) 0 ) \
|
>::************)) 0 ) \
|
||||||
|
Reference in New Issue
Block a user