bool operator==( thread::id lhs, thread::id rhs ) noexcept; | (1) | (since C++11) |
bool operator!=( thread::id lhs, thread::id rhs ) noexcept; | (2) | (since C++11) |
bool operator<( thread::id lhs, thread::id rhs ) noexcept; | (3) | (since C++11) |
bool operator<=( thread::id lhs, thread::id rhs ) noexcept; | (4) | (since C++11) |
bool operator>( thread::id lhs, thread::id rhs ) noexcept; | (5) | (since C++11) |
bool operator>=( thread::id lhs, thread::id rhs ) noexcept; | (6) | (since C++11) |
Compares two thread identifiers.
lhs
and rhs
represent either the same thread, or no thread.lhs
and rhs
in such a way, that lhs
and rhs
are totally ordered.lhs, rhs | - | thread identifiers to compare |
true
if the corresponding relation holds, false
otherwise.
Constant.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/thread/thread/id/operator_cmp