summaryrefslogtreecommitdiffstats
path: root/3rdparty/assimp/code/BoostWorkaround/boost/static_assert.hpp
blob: 4b6489a7932f2de501a5fac661e1c9635077e34e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

#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;assert_dummy;}

#endif
#endif // !! AI_BOOST_STATIC_ASSERT_INCLUDED