|
NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
空元组特化 更多...
#include <tuple.hpp>
Public 成员函数 | |
| 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 |
| 计算空元组的哈希值 | |
| Public 成员函数 继承自 icomparable< tuple<> > | |
| 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)))) |
| 大于等于比较运算符 | |
| Public 成员函数 继承自 ihashable< tuple<> > | |
| constexpr size_t | to_ihash () const noexcept(noexcept(derived().to_hash())) |
| 获取对象的哈希值 | |
|
inlineexplicitconstexprnoexcept |