MPL11
 All Classes Namespaces Files Typedefs Macros Groups Pages
static_assert.hpp
Go to the documentation of this file.
1 
12 #ifndef BOOST_MPL11_TEST_STATIC_ASSERT_HPP
13 #define BOOST_MPL11_TEST_STATIC_ASSERT_HPP
14 
21 template <typename boolean_expression>
22 struct static_assert_ : boolean_expression {
23  static_assert(boolean_expression::type::value, "");
24 };
25 
26 #endif // !BOOST_MPL11_TEST_STATIC_ASSERT_HPP
Returns the given boolean expression and statically asserts that its value is true.
Definition: static_assert.hpp:22