Defines
compile_time_assert.hpp File Reference

Compile time checks. More...

#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.

Defines

#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)

Detailed Description

Compile time checks.

Macros and classes that allow compile time checking of conditional checks.

Date:
May 2009

Definition in file compile_time_assert.hpp.


Define 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; \
        }


ecl_errors
Author(s): Daniel Stonier (d.stonier@gmail.com)
autogenerated on Thu Jan 2 2014 11:11:33