D++ (DPP)
C++ Discord API Bot Library
|
Base class for a promise type. More...
Public Member Functions | |
template<bool Notify = true, typename... Args> | |
requires (std::constructible_from< T, Args... >) void emplace_value(Args &&... args) | |
template<bool Notify = true> | |
void | set_value (const T &v) requires(std |
template<bool Notify = true> | |
void | set_value (T &&v) requires(std |
template<bool Notify = true> | |
void | set_exception (std::exception_ptr ptr) |
void | notify_awaiter () |
awaitable< T > | get_awaitable () |
Base class for a promise type.
Contains the base logic for promise, but does not contain the set_value methods.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |