operator< Operator (<thread>)
Determines whether one thread::id object is less than another.
bool operator< (
thread::id Left,
thread::id Right) _NOEXCEPT
Parameters
Left
The left thread::id object.Right
The right thread::id object.
Return Value
true if Left precedes Right in the total ordering; otherwise, false.
Remarks
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.
Requirements
Header: thread
Namespace: std