bool operator==( thread::id lhs, thread::id rhs ) noexcept;
|
(1) | (C++11 起) |
bool operator!=( thread::id lhs, thread::id rhs ) noexcept;
|
(2) | (C++11 起) |
bool operator<( thread::id lhs, thread::id rhs ) noexcept;
|
(3) | (C++11 起) |
bool operator<=( thread::id lhs, thread::id rhs ) noexcept;
|
(4) | (C++11 起) |
bool operator>( thread::id lhs, thread::id rhs ) noexcept;
|
(5) | (C++11 起) |
bool operator>=( thread::id lhs, thread::id rhs ) noexcept;
|
(6) | (C++11 起) |
比较二个线程标识符。
lhs
与 rhs
是否表示同一线程或均不表示线程。lhs
与 rhs
,以 lhs
与 rhs
完全有顺序的方式。目录 |
lhs, rhs | - | 要比较的线程标识符 |
若对应关系成立则为 true ,否则为 false
。
常数。
thrd_equal的 C 文档
|