Macros
compile_time_assert.hpp File Reference
#include "macros.hpp"
Include dependency graph for compile_time_assert.hpp:
This graph shows which files directly or indirectly include this file:

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)
 

Macro Definition Documentation

#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 
)
Value:
{ \
ecl::COMPILE_TIME_FAILURE<( (logical_expression) != 0)> ERROR_##message; \
(void)ERROR_##message; \
}


xbot_driver
Author(s): Roc, wangpeng@droid.ac.cn
autogenerated on Sat Oct 10 2020 03:27:38