JSON RPC
JSON-RPC 2.0 library for C++
|
Primary template for function traits. More...
#include <details.h>
Public Types | |
using | args_tuple = typename call_type::args_tuple |
A tuple of the argument types. | |
using | return_type = typename call_type::return_type |
The return type of the functor. | |
Private Types | |
using | call_type = function_traits<decltype(&T::operator())> |
Type traits for the call operator. | |
Primary template for function traits.
Specialization for functors (objects with operator()
).
This template is specialized for various function types to extract the return type and argument types.
T | The function type. |
T | The functor type. |
using wwa::json_rpc::details::function_traits< T >::args_tuple = typename call_type::args_tuple |
|
private |
using wwa::json_rpc::details::function_traits< T >::return_type = typename call_type::return_type |