boost::capy::task::release

Release ownership of the coroutine frame.

Synopsis

Declared in <boost/capy/task.hpp>

void
release() noexcept;

Description

After calling this, destroying the task does not destroy the coroutine frame. The caller becomes responsible for the frame's lifetime.

Postconditions

handle() returns the original handle, but the task no longer owns it.

Created with MrDocs