typedef char compile_time_constraint[(expr)
Tuesday, November 23, 2010
Force a compiler Failure
#define COMPILE_TIME_ASSERT(expr) \
typedef char compile_time_constraint[(expr)? 1:-1]
typedef char compile_time_constraint[(expr)
Subscribe to:
Posts (Atom)