Files
2025-10-25 03:02:53 +03:00

967 B

[coroutine.handle.compare]

17 Language support library [support]

17.13 Coroutines [support.coroutine]

17.13.4 Class template coroutine_handle [coroutine.handle]

17.13.4.8 Comparison operators [coroutine.handle.compare]

🔗

constexpr bool operator==(coroutine_handle<> x, coroutine_handle<> y) noexcept;

1

#

Returns: x.address() == y.address().

🔗

constexpr strong_ordering operator<=>(coroutine_handle<> x, coroutine_handle<> y) noexcept;

2

#

Returns: compare_three_way()(x.address(), y.address()).