Compile-time functions for compiler detection.
More...
Compile-time functions for compiler detection.
◆ USING_CLANG()
bool original::USING_CLANG |
( |
| ) |
|
|
consteval |
Checks if compiling with Clang.
- Returns
- true if using Clang compiler, false otherwise
- Note
- Evaluated at compile-time
◆ USING_GCC()
bool original::USING_GCC |
( |
| ) |
|
|
consteval |
Checks if compiling with GCC.
- Returns
- true if using GCC compiler, false otherwise
- Note
- Evaluated at compile-time
◆ USING_MSVC()
bool original::USING_MSVC |
( |
| ) |
|
|
consteval |
Checks if compiling with MSVC.
- Returns
- true if using Microsoft Visual C++ compiler, false otherwise
- Note
- Evaluated at compile-time
◆ USING_UNKNOWN_COMPLIER()
bool original::USING_UNKNOWN_COMPLIER |
( |
| ) |
|
|
consteval |
Checks if compiling with unknown compiler.
- Returns
- true if compiler detection failed, false otherwise
- Note
- Evaluated at compile-time