|
#define | QX_EMPTY_MACRO static_assert(true) |
| Placeholder for disabled macros. More...
|
|
#define | QX_LINE int(_QX_JOIN(__LINE__, U)) |
| Same as LINE, but fixes some problems when using it in constexpr context.
|
|
#define | QX_SHORT_FILE qx::details::last_slash(QX_TEXT(__FILE__)) |
| Cuts full absolute path to the file name only ex: "C:\folder1\foler2\file.h" => "file.h".
|
|
#define | QX_SINGLE_ARGUMENT(...) __VA_ARGS__ |
| Let macro param containing commas work fine "#define FOO(type, name) type name" FOO(QX_SINGLE_ARGUMENT(std::map<int, int>), map_var);. More...
|
|
#define | QX_CONST_CAST_THIS() const_cast<qx::switch_const_t<std::remove_pointer_t<decltype(this)>>*>(this) |
| This macro is made for situations where you have a const method and you need exactly the same method but non-const. More...
|
|
#define | QX_CALL_BEFORE_MAIN inline volatile qx::details::call_before_main_invoker QX_LINE_NAME(_stubCallBeforeMain) |
| Calls this lambda before the main invocation. More...
|
|
- Author
- Khrapov
- Date
- 17.06.2019
- Copyright
- © Nick Khrapov, 2021. All right reserved.
Definition in file common.h.