mp-coro main
Coroutine support tools
Classes | Namespaces | Typedefs
coro_ptr.h File Reference
#include <mp-coro/trace.h>
#include <coroutine>
#include <memory>
+ Include dependency graph for coro_ptr.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  coro_deleter
 If the given promise object has an associated coroutine, destroy it. More...
 

Namespaces

namespace  mp_coro
 

Typedefs

template<typename T >
using promise_ptr = std::unique_ptr< T, coro_deleter >
 RAII wrapper that destroys promise object's associated coroutine. More...