Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
BOOST_STATIC_ASSERT is a Boost macro to test assertions (that can be made at compile time) at compile time.
#include <boost/static_assert.hpp> |
The C++11 standard has the keyword static_assert serving the same function.
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.