Compile time checks. More...
#include "macros.hpp"
Go to the source code of this file.
Macros | |
#define | ecl_compile_time_assert(logical_expression) typedef ecl::static_assert_test<sizeof(ecl::COMPILE_TIME_FAILURE< static_cast<bool>(logical_expression) >)> JOIN(compile_time_check,__LINE__) |
#define | ecl_verbose_compile_time_assert(logical_expression, message) |
Compile time checks.
Macros and classes that allow compile time checking of conditional checks.
Definition in file compile_time_assert.hpp.
#define ecl_compile_time_assert | ( | logical_expression | ) | typedef ecl::static_assert_test<sizeof(ecl::COMPILE_TIME_FAILURE< static_cast<bool>(logical_expression) >)> JOIN(compile_time_check,__LINE__) |
#define ecl_verbose_compile_time_assert | ( | logical_expression, | |
message | |||
) |