2015-08-08 16:02:37 +00:00
|
|
|
|
|
|
|
#ifndef AI_BOOST_STATIC_ASSERT_INCLUDED
|
|
|
|
#define AI_BOOST_STATIC_ASSERT_INCLUDED
|
|
|
|
|
|
|
|
#ifndef BOOST_STATIC_ASSERT
|
|
|
|
|
|
|
|
namespace boost {
|
|
|
|
namespace detail {
|
|
|
|
|
|
|
|
template <bool b> class static_assertion_failure;
|
|
|
|
template <> class static_assertion_failure<true> {};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#define BOOST_STATIC_ASSERT(eval) \
|
|
|
|
{boost::detail::static_assertion_failure<(eval)> assert_dummy;(void)assert_dummy;}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif // !! AI_BOOST_STATIC_ASSERT_INCLUDED
|