| 
    HDK
    
   | 
 
#include <hboost/static_assert.hpp>
 Include dependency graph for SYS_StaticAssert.h:
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | SYS_STATIC_ASSERT(expr) HBOOST_STATIC_ASSERT(expr) | 
| #define | SYS_STATIC_ASSERT_MSG(expr, msg) HBOOST_STATIC_ASSERT_MSG(expr, msg) | 
| #define | SYS_UNIMPLEMENTED_TEMPLATE(T) SYS_STATIC_ASSERT_MSG(sizeof(T) == 0, "Unimplemented template function.") | 
| #define SYS_STATIC_ASSERT | ( | expr | ) | HBOOST_STATIC_ASSERT(expr) | 
A macro to trigger assertions at compile-time. Comes in two flavor, one which simply shows the expression that failed, another one that allows a custom message to be supplied.
Definition at line 25 of file SYS_StaticAssert.h.
| #define SYS_STATIC_ASSERT_MSG | ( | expr, | |
| msg | |||
| ) | HBOOST_STATIC_ASSERT_MSG(expr, msg) | 
Definition at line 26 of file SYS_StaticAssert.h.
| #define SYS_UNIMPLEMENTED_TEMPLATE | ( | T | ) | SYS_STATIC_ASSERT_MSG(sizeof(T) == 0, "Unimplemented template function.") | 
Use this macro to trigger a compilation error on deliberately unimplemented template functions. Pass in one of the template arguments, to make this type-dependent.
Definition at line 32 of file SYS_StaticAssert.h.