Changeset 77109 in vbox for trunk/include/iprt
- Timestamp:
- Feb 1, 2019 10:41:42 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/assertcompile.h
r76585 r77109 108 108 */ 109 109 #ifdef RTASSERT_HAVE_STATIC_ASSERT 110 # define AssertCompile(expr) static_assert(!!(expr), #expr) 110 # ifdef __cplusplus 111 # define AssertCompile(expr) static_assert(!!(expr), #expr) 112 # else 113 # define AssertCompile(expr) _Static_assert(!!(expr), #expr) 114 # endif 111 115 #else 112 116 # define AssertCompile(expr) AssertCompileNS(expr)
Note:
See TracChangeset
for help on using the changeset viewer.