operator< Operator (<thread>)

Determines whether one thread::id object is less than another.

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


The left thread::id object.


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.

Header: thread

Namespace: std

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft