ORIGINAL
|
Platform-independent type definitions and compiler/platform detection. More...
#include <cstdint>
Go to the source code of this file.
Namespaces | |
namespace | original |
Main namespace for the project Original. | |
Macros | |
#define | ORIGINAL_PLATFORM_UNKNOWN 1 |
#define | ORIGINAL_COMPILER_UNKNOWN 1 |
Typedefs | |
using | original::byte = std::uint8_t |
Unsigned 8-bit integer type (byte) | |
using | original::s_byte = std::int8_t |
Signed 8-bit integer type. | |
using | original::integer = std::int64_t |
64-bit signed integer type for arithmetic operations | |
using | original::u_integer = std::uint32_t |
32-bit unsigned integer type for sizes and indexes | |
using | original::ul_integer = std::uint64_t |
64-bit unsigned integer type | |
using | original::floating = double |
Double-precision floating-point type. | |
using | original::l_floating = long double |
Extended precision floating-point type. | |
Functions | |
consteval bool | original::ON_WINDOWS () |
Checks if compiling for Windows platform. | |
consteval bool | original::ON_WIN32 () |
Checks if compiling for 32-bit Windows. | |
consteval bool | original::ON_WIN64 () |
Checks if compiling for 64-bit Windows. | |
consteval bool | original::ON_LINUX () |
Checks if compiling for Linux platform. | |
consteval bool | original::ON_MACOS () |
Checks if compiling for macOS platform. | |
consteval bool | original::ON_UNIX () |
Checks if compiling for Unix-like platform (excluding Linux/macOS) | |
consteval bool | original::ON_UNKNOWN_PLATFORM () |
Checks if compiling for unknown platform. | |
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. | |
Platform-independent type definitions and compiler/platform detection.
Provides unified integer and floating-point type aliases for cross-platform consistency. Includes comprehensive platform and compiler detection macros and consteval functions. Ensures fixed-width integer and standardized floating-point usage throughout the codebase.