13 Asynchronous model [async]

13.21 Class executor [async.executor]

13.21.8 executor comparisons [async.executor.comparisons]

bool operator==(const executor& a, const executor& b) noexcept;

Returns:

  • true if !a and !b;

  • true if a and b share a target;

  • true if e and f are the same type and e == f, where e is the target of a and f is the target of b;

  • otherwise false.

bool operator==(const executor& e, nullptr_t) noexcept; bool operator==(nullptr_t, const executor& e) noexcept;

Returns: !e.

bool operator!=(const executor& a, const executor& b) noexcept;

Returns: !(a == b).

bool operator!=(const executor& e, nullptr_t) noexcept; bool operator!=(nullptr_t, const executor& e) noexcept;

Returns: (bool) e.