Lines Matching refs:expr
37 #define COMPILE_ASSERT(expr, msg) \
38 typedef CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1] // NOLINT
48 // #define COMPILE_ASSERT(expr, msg) typedef char msg[(expr) ? 1 : -1]
59 // - By using the type CompileAssert<(bool(expr))>, we ensures that
60 // expr is a compile-time constant. (Template arguments must be
63 // - The outer parentheses in CompileAssert<(bool(expr))> are necessary
66 // CompileAssert<bool(expr)>
75 // - The array size is (bool(expr) ? 1 : -1), instead of simply
77 // ((expr) ? 1 : -1).