git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1029 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
21 lines
464 B
C++
21 lines
464 B
C++
|
|
#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
|