[coroutine.handle.noop.resumption] (original) (raw)

17 Language support library [support]

17.12 Coroutines [support.coroutine]

17.12.4 No-op coroutines [coroutine.noop]

17.12.4.2 Class coroutine_­handle<noop_­coroutine_­promise> [coroutine.handle.noop]

17.12.4.2.2 Resumption [coroutine.handle.noop.resumption]

🔗

constexpr void operator()() const noexcept;constexpr void resume() const noexcept;constexpr void destroy() const noexcept;

1

#

Effects:None.

2

#

Remarks:If noop_­coroutine_­handle is converted to coroutine_­handle<>, calls to operator(), resume and destroy on that handle will also have no observable effects.