NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
载入中...
搜索中...
未找到
核心类型

基础类型别名和通用类型定义 更多...

类型定义

using neforce::nullptr_t = decltype(nullptr)
 空指针类型
using neforce::max_align_t = double
 最大对齐类型
using neforce::byte_t = unsigned char
 字节类型,定义为无符号字符
using neforce::native_size_type
 系统ID类型
using neforce::native_handle_type
 系统句柄类型
using neforce::int8_t = signed char
 8位有符号整数类型
using neforce::int16_t = short
 16位有符号整数类型
using neforce::int32_t = int
 32位有符号整数类型
using neforce::int64_t
 64位有符号整数类型
using neforce::uint8_t = unsigned char
 8位无符号整数类型
using neforce::uint16_t = unsigned short
 16位无符号整数类型
using neforce::uint32_t = unsigned int
 32位无符号整数类型
using neforce::uint64_t
 64位无符号整数类型
using neforce::float32_t = float
 32位单精度浮点数类型
using neforce::float64_t = double
 64位双精度浮点数类型
using neforce::decimal_t = long double
 扩展精度浮点数类型

详细描述

基础类型别名和通用类型定义

类型定义说明

◆ decimal_t

using neforce::decimal_t = long double

扩展精度浮点数类型

使用long double实现,提供比double更高的精度。

在文件 typeinfo/types.hpp143 行定义.

◆ int64_t

初始值:
long

64位有符号整数类型

Linux为long,Windows为long long

在文件 typeinfo/types.hpp86 行定义.

◆ uint64_t

初始值:
unsigned long

64位无符号整数类型

Linux为unsigned long,Windows为unsigned long long

在文件 typeinfo/types.hpp117 行定义.