D++ (DPP)
C++ Discord API Bot Library
|
Type trait helper to obtain the actual type that will be used by a when_any when a type is passed as a parameter. May specialize for certain types for specific behavior, e.g. for an event_router, store the awaitable directly. More...
Public Types | |
using | type = T |
Static Public Member Functions | |
static decltype(auto) | get (auto &&v) |
Type trait helper to obtain the actual type that will be used by a when_any when a type is passed as a parameter. May specialize for certain types for specific behavior, e.g. for an event_router, store the awaitable directly.
using dpp::detail::when_any::arg_helper_s< T >::type = T |
Raw type of the awaitable
|
inlinestatic |
Helper static method to get the awaitable from a variable