compile time assert:
#define UNIQUE(x) __unique_name##x #define STATIC_ASSERT(expr) typedef char UNIQUE(__LINE__)[(expr)?1:-1];
compile time assert:
#define UNIQUE(x) __unique_name##x #define STATIC_ASSERT(expr) typedef char UNIQUE(__LINE__)[(expr)?1:-1];