ORIGINAL
Loading...
Searching...
No Matches
Compiler Detection Functions

Compile-time functions for compiler detection. More...

Functions

consteval bool original::USING_CLANG ()
 Checks if compiling with Clang.
 
consteval bool original::USING_GCC ()
 Checks if compiling with GCC.
 
consteval bool original::USING_MSVC ()
 Checks if compiling with MSVC.
 
consteval bool original::USING_UNKNOWN_COMPLIER ()
 Checks if compiling with unknown compiler.
 

Detailed Description

Compile-time functions for compiler detection.

Function Documentation

◆ 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