共用方式為


operator<= Operator (<thread>)

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

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

Parameters

  • Left
    The left thread::id object.

  • Right
    The right thread::id object.

Return Value

!(Right < Left)

Remarks

This function does not throw any exceptions.

Requirements

Header: thread

Namespace: std

See Also

Reference

<thread>

operator< Operator (<thread>)

Other Resources

C++ Standard Library Header Files