operator<运算符(<thread>)
确定一 thread::id 对象是否比另一个小于。
bool operator< (
thread::id Left,
thread::id Right) _NOEXCEPT
参数
Left
左 thread::id 对象。Right
正确的 thread::id 对象。
返回值
true,如果 Left 前面 Right 始终按顺序;否则,false。
备注
运算符定义了总排序。thread::id 所有对象。 这些对象可用作键在关联容器。
此功能不引发任何异常。
要求
**标头:**线程
**命名空间:**std