Lines Matching refs:Args
25 template <typename R, typename... Args>
26 class RunnableAdapter<R(__stdcall *)(Args...)> {
30 typedef R RunType(Args...);
32 explicit RunnableAdapter(R(__stdcall *function)(Args...))
36 R Run(typename CallbackParamTraits<Args>::ForwardType... args) {
37 return function_(args...);
41 R (__stdcall *function_)(Args...);
45 template <typename R, typename... Args>
46 class RunnableAdapter<R(__fastcall *)(Args...)> {
50 typedef R RunType(Args...);
52 explicit RunnableAdapter(R(__fastcall *function)(Args...))
56 R Run(typename CallbackParamTraits<Args>::ForwardType... args) {
57 return function_(args...);
61 R (__fastcall *function_)(Args...);