You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 rivejä
444 B

  1. #ifndef AI_BOOST_STATIC_ASSERT_INCLUDED
  2. #define AI_BOOST_STATIC_ASSERT_INCLUDED
  3. #ifndef BOOST_STATIC_ASSERT
  4. namespace boost {
  5. namespace detail {
  6. template <bool b> class static_assertion_failure;
  7. template <> class static_assertion_failure<true> {};
  8. }
  9. }
  10. #define BOOST_STATIC_ASSERT(eval) \
  11. {boost::detail::static_assertion_failure<(eval)> assert_dummy;(void)assert_dummy;}
  12. #endif
  13. #endif // !! AI_BOOST_STATIC_ASSERT_INCLUDED