Documentation Home >> Headers >> <thread> Header >> std::thread::id >> std::thread::id Greater Than or Equal Comparison Operator

Compare two instances of std::thread::id to see if one lies after the other in the total ordering of thread ID values or is equal to it.

bool operator>=(
    std::thread::id lhs,std::thread::id rhs);

Returns:

(lhs==rhs) || (lhs>rhs).

Throws:

Nothing

Header

#include <thread>

See Also