skip to main
|
skip to sidebar
Shiftbit
Programming related blogs.
Tuesday, November 23, 2010
Force a compiler Failure
#define COMPILE_TIME_ASSERT(expr) \
typedef char compile_time_constraint[(expr)
? 1:-1]
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
▼
2010
(8)
▼
November
(1)
Force a compiler Failure
►
October
(2)
►
August
(1)
►
March
(2)
►
January
(2)
►
2009
(4)
►
November
(1)
►
October
(1)
►
March
(2)
About Me
Mac
View my complete profile
No comments:
Post a Comment