You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
431 B

#ifndef EFL_EINA_FUNCTION_HH
#define EFL_EINA_FUNCTION_HH
namespace efl { namespace eina { namespace _mpl {
template <typename T>
struct function_params;
template <typename R, typename... P>
struct function_params<R(*)(P...)>
{
typedef std::tuple<P...> type;
};
template <typename T>
struct function_return;
template <typename R, typename... P>
struct function_return<R(*)(P...)>
{
typedef R type;
};
} } }
#endif