Go to the documentation of this file.
20 #define QX_UNUSED(...) ((void)sizeof(__VA_ARGS__))
28 #define QX_EMPTY_MACRO static_assert(true)
33 #define QX_JOIN(symbol1, symbol2) _QX_DO_JOIN(symbol1, symbol2)
38 #define QX_LINE int(QX_JOIN(__LINE__, U))
45 #define QX_SHORT_FILE qx::details::last_slash(QXT(__FILE__))
63 #define QX_CONST_CAST_THIS() const_cast<qx::switch_const_t<std::remove_pointer_t<decltype(this)>>*>(this)
76 #define QX_CALL_BEFORE_MAIN inline volatile qx::details::call_before_main_invoker QX_LINE_NAME(_stubCallBeforeMain)
82 #define QX_DISABLE_OPTIMIZATIONS() _QX_DISABLE_OPTIMIZATIONS()
87 #define QX_ENABLE_OPTIMIZATIONS() _QX_ENABLE_OPTIMIZATIONS()
92 #define QX_FORCE_INLINE _QX_FORCE_INLINE
103 #define QX_APPEND_VA_ARG_COUNT(prefix, ...) _QX_APPEND_VA_ARG_COUNT(prefix, ##__VA_ARGS__)
113 #define QX_VA_ARG_COUNT(...) QX_APPEND_VA_ARG_COUNT(, ##__VA_ARGS__)
118 #define QX_EXPAND(x) x