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