vrshoot

view libs/assimp/boost/static_assert.hpp @ 0:b2f14e535253

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 01 Feb 2014 19:58:19 +0200
parents
children
line source
2 #ifndef AI_BOOST_STATIC_ASSERT_INCLUDED
3 #define AI_BOOST_STATIC_ASSERT_INCLUDED
5 #ifndef BOOST_STATIC_ASSERT
7 namespace boost {
8 namespace detail {
10 template <bool b> class static_assertion_failure;
11 template <> class static_assertion_failure<true> {};
12 }
13 }
16 #define BOOST_STATIC_ASSERT(eval) \
17 {boost::detail::static_assertion_failure<(eval)> assert_dummy;(void)assert_dummy;}
19 #endif
20 #endif // !! AI_BOOST_STATIC_ASSERT_INCLUDED