We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

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