D++ (DPP)  10.0.30
C++ Discord API Bot Library
coroutine.h File Reference
#include <dpp/utility.h>
#include "coro.h"
#include <optional>
#include <type_traits>
#include <exception>
#include <utility>
Include dependency graph for coroutine.h:
This graph shows which files directly or indirectly include this file:

Classes

class  dpp::coroutine
 Base type for a coroutine, starts on co_await. More...
 
class  dpp::detail::coroutine::coroutine_base< R >
 Base class of dpp::coroutine<R>. More...
 
struct  dpp::coroutine_dummy
 
struct  dpp::detail::std_coroutine::coroutine_traits< dpp::coroutine< R >, Args... >
 Specialization of std::coroutine_traits, helps the standard library figure out a promise type from a coroutine function. More...
 
struct  dpp::detail::coroutine::final_awaiter< R >
 Struct returned by a coroutine's final_suspend, resumes the continuation. More...
 
struct  dpp::detail::coroutine::final_awaiter< R >
 Struct returned by a coroutine's final_suspend, resumes the continuation. More...
 
struct  dpp::detail::coroutine::promise_t< R >
 Promise type for coroutine. More...
 
struct  dpp::detail::coroutine::promise_t< R >
 Promise type for coroutine. More...
 
struct  dpp::detail::coroutine::promise_t< void >
 Struct returned by a coroutine's final_suspend, resumes the continuation. More...
 

Namespaces

 dpp
 The main namespace for D++ functions.
 
 dpp::detail
 Implementation details for internal use only.
 
 dpp::detail::coroutine
 

Typedefs

template<typename R >
using dpp::detail::coroutine::handle_t = std_coroutine::coroutine_handle< promise_t< R > >
 Alias for the handle_t of a coroutine. More...
 

Functions

 dpp::DPP_CHECK_ABI_COMPAT (coroutine< void >, coroutine_dummy) DPP_CHECK_ABI_COMPAT(coroutine< uint64_t >