D++ (DPP)  10.0.30
C++ Discord API Bot Library
dpp::detail::std_coroutine Namespace Reference

Alias for either std or std::experimental depending on compiler and library. More...

Classes

struct  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  coroutine_traits< dpp::job, Args... >
 Specialization of std::coroutine_traits, helps the standard library figure out a promise type from a coroutine function. More...
 
struct  coroutine_traits< dpp::task< T >, Args... >
 Specialization of std::coroutine_traits, helps the standard library figure out a promise_t type from a coroutine function. More...
 

Detailed Description

Alias for either std or std::experimental depending on compiler and library.

Used by coroutine implementation.

Todo:
Remove and use std when all supported libraries have coroutines in it