File tree Expand file tree Collapse file tree 3 files changed +0
-17
lines changed Expand file tree Collapse file tree 3 files changed +0
-17
lines changed Original file line number Diff line number Diff line change 141141#define todo (x ) message(__FILE__LINE__" TODO : " #x "\n")
142142#define fixme (x ) message(__FILE__LINE__" FIXME: " #x "\n")
143143
144- // --------- static assertion
145- template <bool >
146- struct CompileTimeError ;
147- template <>
148- struct CompileTimeError <true >
149- {};
150- #define STATIC_CHECK (expr, msg )\
151- {\
152- CompileTimeError<((expr)!=0 )> ERROR_##msg;\
153- (void )ERROR_##msg;\
154- }
155144#endif // xrDebug_macrosH
Original file line number Diff line number Diff line change 88
99#pragma once
1010
11- // STATIC_CHECK macro
12- #ifndef STATIC_CHECK
13- #define STATIC_CHECK (expr, msg ) typedef char ERROR_##msg[1 ][(expr)]
14- #endif // #ifndef STATIC_CHECK
15-
1611// DECLSPEC_NOVTABLE macro
1712#ifndef DECLSPEC_NOVTABLE
1813#if (_MSC_VER >= 1100) && defined(__cplusplus)
Original file line number Diff line number Diff line change 1717#define smart_cast dynamic_cast
1818#else
1919#define TL_FAST_COMPILATION
20- #undef STATIC_CHECK
2120#include < loki/Typelist.h>
2221
2322#define PURE_DYNAMIC_CAST_COMPATIBILITY_CHECK
You can’t perform that action at this time.
0 commit comments