Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

experimental::coro::~coro

Destructor. Destroys the coroutine, if it holds a valid one.

~coro();
Remarks

This does not cancel an active coroutine. Destructing a resumable coroutine, i.e. one with a call to async_resume that has not completed, is undefined behaviour.


PrevUpHomeNext