Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

operator== Operator (<thread>)

Compares two thread::id objects for equality.

bool operator== (
   thread::id Left,
   thread::id Right) _NOEXCEPT


The left thread::id object.


The right thread::id object.

true 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.

Header: thread

Namespace: std

© 2015 Microsoft