libcoro  1.0
Coroutine support library for C++20
coro::basic_coroutine< Alloc > Class Template Reference

COROUTINE: Basic coroutine. More...

#include <coroutine.h>

Detailed Description

template<coro_allocator Alloc = std_allocator>
class coro::basic_coroutine< Alloc >

COROUTINE: Basic coroutine.

See also
coroutine
Template Parameters
Allocallocator
coro::basic_coroutine<coro::pool_alloc> my_coroutine(...args...) {
co_await...;
}
COROUTINE: Basic coroutine.
Definition: coroutine.h:28
co_await...;
}
Handles allocation of single coroutine, if it is repeatedly allocated and deallocated.
Definition: allocator.h:49

Definition at line 28 of file coroutine.h.


The documentation for this class was generated from the following file: