$search
#include <boost/static_assert.hpp>
Go to the source code of this file.
Defines | |
#define | ROS_COMPILE_ASSERT(cond) BOOST_STATIC_ASSERT(cond) |
Compile-time assert. | |
#define | ROS_STATIC_ASSERT(cond) BOOST_STATIC_ASSERT(cond) |
Compile-time assert. |
#define ROS_COMPILE_ASSERT | ( | cond | ) | BOOST_STATIC_ASSERT(cond) |
Compile-time assert.
Only works with compile time statements, ie:
struct A { uint32_t a; }; ROS_COMPILE_ASSERT(sizeof(A) == 4);
Definition at line 52 of file static_assert.h.
#define ROS_STATIC_ASSERT | ( | cond | ) | BOOST_STATIC_ASSERT(cond) |
Compile-time assert.
Only works with compile time statements, ie:
struct A { uint32_t a; }; ROS_STATIC_ASSERT(sizeof(A) == 4);
Definition at line 67 of file static_assert.h.