Go to the source code of this file.
Define Documentation
#define __JOIN |
( |
|
X, |
|
|
|
Y |
|
) |
| __JOIN2(X, Y) |
#define __JOIN2 |
( |
|
X, |
|
|
|
Y |
|
) |
| X##Y |
#define STATIC_ASSERT |
( |
|
B, |
|
|
|
MSG |
|
) |
| |
Value:typedef ::utils::static_assert_::static_assert_test<\
sizeof(::utils::static_assert_::STATIC_ASSERTION_FAILURE<(bool) (B)>)> \
__JOIN(static_assert_on_line_, __LINE__);
Static assertion. You can assert on any compile-time expressions. Note: if you try to pass non-compile-time expression, compilation will be aborted
- Parameters:
-
B | boolean expression |
MSG | (ignored) message - it is for compatibility with C++0x static_assert |