Lines Matching refs:expr
54 #define COMPILE_ASSERT(expr, msg) \
55 typedef CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1] // NOLINT
65 // #define COMPILE_ASSERT(expr, msg) typedef char msg[(expr) ? 1 : -1]
76 // - By using the type CompileAssert<(bool(expr))>, we ensures that
77 // expr is a compile-time constant. (Template arguments must be
80 // - The outer parentheses in CompileAssert<(bool(expr))> are necessary
83 // CompileAssert<bool(expr)>
92 // - The array size is (bool(expr) ? 1 : -1), instead of simply
94 // ((expr) ? 1 : -1).