|
NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
位引用类 更多...
#include <bitmap.hpp>
Public 成员函数 | |
| NEFORCE_CONSTEXPR20 | bit_reference ()=default |
| 默认构造函数 | |
| NEFORCE_CONSTEXPR20 | bit_reference (uint32_t *ptr, const uint32_t mask) noexcept |
| 构造函数 | |
| NEFORCE_CONSTEXPR20 | bit_reference (const bit_reference &other) noexcept |
| 拷贝构造函数 | |
| NEFORCE_CONSTEXPR20 bit_reference & | operator= (const bit_reference &other) noexcept |
| 拷贝赋值运算符 | |
| NEFORCE_CONSTEXPR20 | bit_reference (bit_reference &&other) noexcept |
| 移动构造函数 | |
| NEFORCE_CONSTEXPR20 bit_reference & | operator= (bit_reference &&other) noexcept |
| 移动赋值运算符 | |
| NEFORCE_CONSTEXPR20 bit_reference & | operator= (const bool value) noexcept |
| 赋值布尔值 | |
| NEFORCE_CONSTEXPR20 | operator bool () const noexcept |
| 转换为布尔值 | |
| NEFORCE_CONSTEXPR20 void | flip () const noexcept |
| 翻转位值 | |
| NEFORCE_CONSTEXPR20 void | swap (bit_reference &other) noexcept |
| 交换两个位引用 | |
| NEFORCE_NODISCARD NEFORCE_CONSTEXPR20 bool | operator== (const bit_reference &rhs) const noexcept |
| 相等比较操作符 | |
| NEFORCE_NODISCARD NEFORCE_CONSTEXPR20 bool | operator< (const bit_reference &rhs) const noexcept |
| 小于比较操作符 | |
| NEFORCE_NODISCARD NEFORCE_CONSTEXPR20 size_t | to_hash () const noexcept |
| 计算哈希值 | |
| NEFORCE_NODISCARD NEFORCE_CONSTEXPR20 string | to_string () const |
| 转换为字符串 | |
| Public 成员函数 继承自 icomparable< bit_reference > | |
| NEFORCE_NODISCARD constexpr bool | operator== (const bit_reference &rhs) const noexcept(noexcept(derived()==rhs)) |
| 相等比较运算符 | |
| NEFORCE_NODISCARD constexpr bool | operator!= (const bit_reference &rhs) const noexcept(noexcept(!(*this==rhs))) |
| 不等比较运算符 | |
| NEFORCE_NODISCARD constexpr bool | operator< (const bit_reference &rhs) const noexcept(noexcept(derived()< rhs)) |
| 小于比较运算符 | |
| NEFORCE_NODISCARD constexpr bool | operator> (const bit_reference &rhs) const noexcept(noexcept(rhs< derived())) |
| 大于比较运算符 | |
| NEFORCE_NODISCARD constexpr bool | operator<= (const bit_reference &rhs) const noexcept(noexcept(!(derived() > rhs))) |
| 小于等于比较运算符 | |
| NEFORCE_NODISCARD constexpr bool | operator>= (const bit_reference &rhs) const noexcept(noexcept(!(derived()< rhs))) |
| 大于等于比较运算符 | |
| Public 成员函数 继承自 ihashable< bit_reference > | |
| NEFORCE_NODISCARD constexpr size_t | to_hash () const noexcept(noexcept(derived().to_hash())) |
| 获取对象的哈希值 | |
| Public 成员函数 继承自 istringify< bit_reference > | |
| NEFORCE_NODISCARD NEFORCE_CONSTEXPR20 string | to_string () const |
| 转换为字符串 | |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |