![]() |
STX
1.0.0
|
Go to the source code of this file.
Copyright (c) 2020 Basit Ayantunde
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define CFG | ( | param, | |
value | |||
) | STX_##param##_##value |
configuration macro
#define STX_ARCH_ARM32 0 |
#define STX_ARCH_ARM64 0 |
#define STX_ARCH_MIPS 0 |
#define STX_ARCH_RISCV 0 |
#define STX_ARCH_X86 0 |
#define STX_ARCH_X86_64 0 |
#define STX_ARCH_XTENSA 0 |
#define STX_BEGIN_NAMESPACE |
#define STX_BINARY_ELF 0 |
#define STX_BINARY_EXE 0 |
#define STX_BINARY_WASW 0 |
#define STX_COMPILER_ARM 0 |
#define STX_COMPILER_CLANG 0 |
#define STX_COMPILER_EMSCRIPTEN 0 |
#define STX_COMPILER_GNUC 0 |
#define STX_COMPILER_INTEL 0 |
#define STX_COMPILER_MINGW 0 |
#define STX_COMPILER_MSVC 0 |
#define STX_COMPILER_NVCC 0 |
#define STX_CXX20_DESTRUCTOR_CONSTEXPR |
constexpr destructor is only available on C++ 20, it is needed for non-trivial constexpr classes
#define STX_END_NAMESPACE |
#define STX_EXPORT |
#define STX_FORCE_INLINE inline |
#define STX_HAS_BUILTIN | ( | feature | ) | 0 |
#define STX_IMPORT |
#define STX_LOCAL |
#define STX_OPTION_CONSTEXPR 0 |
some compilers have partial support for C++20 (i.e. flags like gnu++2a), you can use directly if you're certain your compiler fully supports C++ 20
#define STX_OS_ANDROID 0 |
#define STX_OS_APPLE 0 |
#define STX_OS_CYGWIN 0 |
#define STX_OS_FUCHSIA 0 |
#define STX_OS_GNU_LINUX 0 |
#define STX_OS_LINUX 0 |
#define STX_OS_MACOS 0 |
#define STX_OS_POSIX 0 |
#define STX_OS_UNIX 0 |
#define STX_OS_WASI 0 |
#define STX_OS_WINDOWS 0 |
#define STX_RESULT_CONSTEXPR 0 |
some compilers have partial support for C++20 (i.e. flags like gnu++2a), you can use directly if you're certain your compiler fully supports C++ 20
#define STX_TOOLCHAIN_LLVM 0 |
#define STX_VERSION v1 |
#define STX_VERSION_STRING "v1" |