Template Struct FunctionTraits< R(Args…) >

Nested Relationships

Nested Types

Inheritance Relationships

Derived Type

Struct Documentation

template<class R, class ...Args>
struct FunctionTraits<R(Args...)>

Subclassed by Aux::FunctionTraits< R(*)(Args…)>

Public Types

using result_type = R
template<size_t N> arg = arg_impl< N, N< arity >

Public Static Attributes

static constexpr size_t arity = sizeof...(Args)
template<size_t N, bool>
struct arg_impl
template<size_t N>
struct arg_impl<N, false>
template<size_t N>
struct arg_impl<N, true>

Public Types

using type = typename std::tuple_element<N, std::tuple<Args...>>::type