![]() |
mrs_lib
Various reusable classes, functions and utilities for use in MRS projects
|
RAII class to destroy a coroutine at the end of a scope. More...
#include <task.hpp>
Public Member Functions | |
| DeferredCoroutineDestroyer (std::coroutine_handle< T > handle) | |
| DeferredCoroutineDestroyer (const DeferredCoroutineDestroyer &)=delete | |
| DeferredCoroutineDestroyer & | operator= (const DeferredCoroutineDestroyer &)=delete |
| DeferredCoroutineDestroyer (DeferredCoroutineDestroyer &&)=delete | |
| DeferredCoroutineDestroyer & | operator= (DeferredCoroutineDestroyer &&)=delete |
RAII class to destroy a coroutine at the end of a scope.