operator< Operator (<thread>)

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

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

Left

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.

Header: thread

Namespace: std

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