35 if (m_cancel !=
nullptr) {
55 m_hdl = other.release();
~ScopedCancelHandle()
Cancel the operation.
CancelHandle release()
Release the operation so that it won't be cancelled when this ScopedCancelHandle is destructed...
ScopedCancelHandle() noexcept=default
CancelHandle() noexcept=default
void cancel()
Cancel the operation.
Handle to cancel an operation.
void swap(any &x, any &y)
void cancel() const
Cancel the operation.
ScopedCancelHandle & operator=(const ScopedCancelHandle &)=delete
Copy assignment is disallowed.
Cancels an operation automatically upon destruction.