| description | Learn more about: <thread> operators | |||||||
|---|---|---|---|---|---|---|---|---|
| title | <thread> operators | |||||||
| ms.date | 11/04/2016 | |||||||
| f1_keywords |
|
|||||||
| ms.assetid | e6bb6c0f-64f9-4cb2-9ff2-05b88a6ba7ac | |||||||
| helpviewer_keywords |
|
operator!=
operator>
operator>=
operator<
operator<<
operator<=
operator==
Determines whether one thread::id object is greater than or equal to another.
bool operator>= (
thread::id Left,
thread::id Right) noexceptLeft
The left thread::id object.
Right
The right thread::id object.
!(Left < Right)
This function does not throw any exceptions.
Determines whether one thread::id object is greater than another.
bool operator> (
thread::id Left,
thread::id Right) noexceptLeft
The left thread::id object.
Right
The right thread::id object.
Right < Left
This function does not throw any exceptions.
Determines whether one thread::id object is less than or equal to another.
bool operator<= (
thread::id Left,
thread::id Right) noexceptLeft
The left thread::id object.
Right
The right thread::id object.
!(Right < Left)
This function does not throw any exceptions.
Determines whether one thread::id object is less than another.
bool operator<(
thread::id Left,
thread::id Right) noexceptLeft
The left thread::id object.
Right
The right thread::id object.
true if Left precedes Right in the total ordering; otherwise, false.
The operator defines a total ordering on all thread::id objects. These objects can be used as keys in associative containers.
This function does not throw any exceptions.
Compares two thread::id objects for inequality.
bool operator!= (
thread::id Left,
thread::id Right) noexceptLeft
The left thread::id object.
Right
The right thread::id object.
!(Left == Right)
This function does not throw any exceptions.
Compares two thread::id objects for equality.
bool operator== (
thread::id Left,
thread::id Right) noexceptLeft
The left thread::id object.
Right
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.
Inserts a text representation of a thread::id object into a stream.
template <class Elem, class Tr>
basic_ostream<Elem, Tr>& operator<<(
basic_ostream<Elem, Tr>& Ostr, thread::id Id);Ostr
A basic_ostream object.
Id
A thread::id object.
Ostr.
This function inserts Id into Ostr.
If two thread::id objects compare equal, the inserted text representations of those objects are the same.