bool operator==( thread::id lhs, thread::id rhs ); (1) (since C++11) bool operator!=( thread::id lhs, thread::id rhs ); (2) (since C++11) bool operator<( thread::id lhs, thread::id rhs ); (3) (since C++11) bool operator<=( thread::id lhs, thread::id rhs ); (4) (since C++11) bool operator>( thread::id lhs, thread::id rhs ); (5) (since C++11) bool operator>=( thread::id lhs, thread::id rhs ); (6) (since C++11)
Compares two thread identifiers.
1-2