|
| constexpr | icharacter (char8_t value) noexcept |
| | 构造函数
|
| NEFORCE_NODISCARD constexpr | operator bool () const noexcept |
| | 转换为bool操作符
|
| constexpr | ipackage (package_type value) noexcept |
| | 构造函数
|
| NEFORCE_NODISCARD constexpr | operator package_type () const noexcept |
| | 类型转换操作符
|
| NEFORCE_NODISCARD constexpr package_type | value () const noexcept |
| | 获取数值
|
| NEFORCE_NODISCARD constexpr int64_t | to_int64 () const noexcept |
| | 转换为64位整数
|
| NEFORCE_NODISCARD constexpr size_t | to_hash () const noexcept |
| | 计算哈希值
|
| constexpr void | swap (T &other) noexcept |
| | 交换内容
|
| NEFORCE_NODISCARD constexpr bool | operator== (const T &other) const noexcept |
| | 相等比较操作符
|
| NEFORCE_NODISCARD constexpr bool | operator< (const T &other) const noexcept |
| | 小于比较操作符
|
| constexpr T & | operator+= (const T &other) noexcept |
| | 加法赋值操作符
|
| constexpr T & | operator-= (const T &other) noexcept |
| | 减法赋值操作符
|
| constexpr T & | operator*= (const T &other) noexcept |
| | 乘法赋值操作符
|
| constexpr T & | operator/= (const T &other) |
| | 除法赋值操作符
|
| constexpr T & | operator%= (const T &other) |
| | 取模赋值操作符
|
| NEFORCE_NODISCARD constexpr T | operator- () const noexcept |
| | 一元负号操作符
|
| constexpr T & | operator++ () noexcept |
| | 前置递增操作符
|
| constexpr T & | operator-- () noexcept |
| | 前置递减操作符
|
| constexpr T | operator~ () const noexcept |
| | 按位取反操作符
|
| constexpr T & | operator&= (const T &other) noexcept |
| | 按位与赋值操作符
|
| constexpr T & | operator|= (const T &other) noexcept |
| | 按位或赋值操作符
|
| constexpr T & | operator^= (const T &other) noexcept |
| | 按位异或赋值操作符
|
| constexpr T & | operator<<= (const uint32_t shift) |
| | 左移赋值操作符
|
| constexpr T & | operator>>= (const uint32_t shift) |
| | 右移赋值操作符
|
| NEFORCE_NODISCARD constexpr bool | operator== (const T &rhs) const noexcept(noexcept(derived()==rhs)) |
| | 相等比较运算符
|
| NEFORCE_NODISCARD constexpr bool | operator!= (const T &rhs) const noexcept(noexcept(!(*this==rhs))) |
| | 不等比较运算符
|
| NEFORCE_NODISCARD constexpr bool | operator< (const T &rhs) const noexcept(noexcept(derived()< rhs)) |
| | 小于比较运算符
|
| NEFORCE_NODISCARD constexpr bool | operator> (const T &rhs) const noexcept(noexcept(rhs< derived())) |
| | 大于比较运算符
|
| NEFORCE_NODISCARD constexpr bool | operator<= (const T &rhs) const noexcept(noexcept(!(derived() > rhs))) |
| | 小于等于比较运算符
|
| NEFORCE_NODISCARD constexpr bool | operator>= (const T &rhs) const noexcept(noexcept(!(derived()< rhs))) |
| | 大于等于比较运算符
|
| NEFORCE_NODISCARD constexpr size_t | to_hash () const noexcept(noexcept(derived().to_hash())) |
| | 获取对象的哈希值
|
| NEFORCE_NODISCARD NEFORCE_CONSTEXPR14 T | operator+ (const T &other) const noexcept(noexcept(const_cast< T & >(derived()).operator+=(other))) |
| | 加法运算符
|
| NEFORCE_NODISCARD NEFORCE_CONSTEXPR14 T | operator- (const T &other) const noexcept(noexcept(const_cast< T & >(derived()).operator-=(other))) |
| | 减法运算符
|
| NEFORCE_NODISCARD NEFORCE_CONSTEXPR14 T | operator* (const T &other) const noexcept(noexcept(const_cast< T & >(derived()).operator*=(other))) |
| | 乘法运算符
|
| NEFORCE_NODISCARD NEFORCE_CONSTEXPR14 T | operator/ (const T &other) const noexcept(noexcept(const_cast< T & >(derived()).operator/=(other))) |
| | 除法运算符
|
| NEFORCE_NODISCARD NEFORCE_CONSTEXPR14 T | operator% (const T &other) const noexcept(noexcept(const_cast< T & >(derived()).operator%=(other))) |
| | 取模运算符
|
| NEFORCE_NODISCARD NEFORCE_CONSTEXPR14 T | operator- () const noexcept(noexcept(derived().operator-())) |
| | 一元负号运算符
|
| NEFORCE_CONSTEXPR14 T & | operator+= (const T &other) noexcept(noexcept(derived().operator+=(other))) |
| | 加法赋值运算符
|
| NEFORCE_CONSTEXPR14 T & | operator-= (const T &other) noexcept(noexcept(derived().operator-=(other))) |
| | 减法赋值运算符
|
| NEFORCE_CONSTEXPR14 T & | operator*= (const T &other) noexcept(noexcept(derived().operator*=(other))) |
| | 乘法赋值运算符
|
| NEFORCE_CONSTEXPR14 T & | operator/= (const T &other) |
| | 除法赋值运算符
|
| NEFORCE_CONSTEXPR14 T & | operator%= (const T &other) |
| | 取模赋值运算符
|
| NEFORCE_CONSTEXPR14 T & | operator++ () noexcept(noexcept(derived().operator++())) |
| | 前置自增运算符
|
| NEFORCE_CONSTEXPR14 T | operator++ (int) noexcept(noexcept(derived().operator++())) |
| | 后置自增运算符
|
| NEFORCE_CONSTEXPR14 T & | operator-- () noexcept(noexcept(derived().operator--())) |
| | 前置自减运算符
|
| NEFORCE_CONSTEXPR14 T | operator-- (int) noexcept(noexcept(derived().operator--())) |
| | 后置自减运算符
|
| NEFORCE_NODISCARD NEFORCE_CONSTEXPR14 T | operator& (const T &other) const noexcept(noexcept(const_cast< T & >(derived()).operator&=(other))) |
| | 按位与运算符
|
| NEFORCE_NODISCARD NEFORCE_CONSTEXPR14 T | operator| (const T &other) const noexcept(noexcept(const_cast< T & >(derived()).operator|=(other))) |
| | 按位或运算符
|
| NEFORCE_NODISCARD NEFORCE_CONSTEXPR14 T | operator^ (const T &other) const noexcept(noexcept(const_cast< T & >(derived()).operator^=(other))) |
| | 按位异或运算符
|
| NEFORCE_NODISCARD NEFORCE_CONSTEXPR14 T | operator~ () const noexcept(noexcept(derived().operator~())) |
| | 按位取反运算符
|
| NEFORCE_NODISCARD NEFORCE_CONSTEXPR14 T | operator<< (const uint32_t shift) const |
| | 左移运算符
|
| NEFORCE_NODISCARD NEFORCE_CONSTEXPR14 T | operator>> (const uint32_t shift) const |
| | 右移运算符
|
| NEFORCE_CONSTEXPR14 T & | operator&= (const T &other) noexcept(noexcept(derived().operator&=(other))) |
| | 按位与赋值运算符
|
| NEFORCE_CONSTEXPR14 T & | operator|= (const T &other) noexcept(noexcept(derived().operator|=(other))) |
| | 按位或赋值运算符
|
| NEFORCE_CONSTEXPR14 T & | operator^= (const T &other) noexcept(noexcept(derived().operator^=(other))) |
| | 按位异或赋值运算符
|
| NEFORCE_CONSTEXPR14 T & | operator<<= (const uint32_t shift) |
| | 左移赋值运算符
|
| NEFORCE_CONSTEXPR14 T & | operator>>= (const uint32_t shift) |
| | 右移赋值运算符
|
| NEFORCE_CONSTEXPR20 | ~ipackage ()=default |
| | 受保护的析构函数
|
|
package_type | value_ {static_cast<package_type>(0)} |
| | 存储的数值
|
char8_t类型包装类
提供char8_t字符的包装,支持到各种字符串类型的转换。 char8_t字符串为UTF-8编码。
在文件 utf.hpp 第 419 行定义.