Type trait helper to obtain the actual type that will be used by a when_any when a type is passed as a parameter. More...
#include "when_any.h"
Public Types | |
using | type = T |
Raw type of the awaitable. More... | |
Static Public Member Functions | |
static decltype(auto) | get (auto &&v) |
Helper static method to get the awaitable from a variable. More... | |
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.