operator== Operator (<thread>)
Compares two thread::id objects for equality.
bool operator== (
thread::id Right) _NOEXCEPT
The left thread::id object.
The right thread::id object.
if the two objects represent the same thread of execution or if neither object represents a thread of execution; otherwise, false.
This function does not throw any exceptions.