Template Struct function_wrapper< R(*)(Args…) >

Nested Relationships

Nested Types

Struct Documentation

template<typename R, typename ...Args>
struct function_wrapper<R (*)(Args...)>

Public Types

typedef R result_type
typedef R (*func_type)(Args...)

Public Functions

inline auto operator()(typename convert_type<Args>::type... args)

Public Members

func_type f

Public Static Attributes

static const size_t nargs = sizeof...(Args)
template<size_t i>
struct arg

Public Types

typedef std::tuple_element<i, std::tuple<Args...>>::type type