|
|
constexpr | tuple () noexcept=default |
| | 默认构造函数
|
|
constexpr | tuple (const tuple &) noexcept=default |
| | 拷贝构造函数
|
| template<typename Tag, enable_if_t< is_same< Tag, exact_arg_construct_tag >::value, int > = 0> |
| constexpr | tuple (Tag) noexcept |
| | 精确参数构造标签构造函数
|
|
constexpr tuple & | operator= (const tuple &) noexcept=default |
| | 拷贝赋值运算符
|
| constexpr bool | equal_to (const tuple &) const noexcept |
| | 比较两个空元组是否相等
|
| constexpr bool | less_than (const tuple &) const noexcept |
| | 比较两个空元组的大小关系
|
|
constexpr void | swap (tuple &) noexcept |
| | 交换操作
|
| constexpr size_t | to_hash () const noexcept |
| | 计算空元组的哈希值
|
| constexpr bool | operator== (const tuple<> &rhs) const noexcept(noexcept(derived().equal_to(rhs))) |
| | 相等比较运算符
|
| constexpr bool | operator!= (const tuple<> &rhs) const noexcept(noexcept(!(derived().equal_to(rhs)))) |
| | 不等比较运算符
|
| constexpr bool | operator< (const tuple<> &rhs) const noexcept(noexcept(derived().less_than(rhs))) |
| | 小于比较运算符
|
| constexpr bool | operator> (const tuple<> &rhs) const noexcept(noexcept(rhs.less_than(derived()))) |
| | 大于比较运算符
|
| constexpr bool | operator<= (const tuple<> &rhs) const noexcept(noexcept(!(rhs.less_than(derived())))) |
| | 小于等于比较运算符
|
| constexpr bool | operator>= (const tuple<> &rhs) const noexcept(noexcept(!(derived().less_than(rhs)))) |
| | 大于等于比较运算符
|
| constexpr size_t | to_ihash () const noexcept(noexcept(derived().to_hash())) |
| | 获取对象的哈希值
|