function_traits< R(C::*)(Args...) const > Struct Template Reference

Public Types

using result_type = R
 
template<size_t index>
using arg_type = typename std::tuple_element_t< index, std::tuple< Args... > >
 

Static Public Attributes

static const size_t arity = sizeof...(Args)
 

Member Typedef Documentation

◆ result_type

template<typename C , typename R , typename... Args>
using function_traits< R(C::*)(Args...) const >::result_type = R

◆ arg_type

template<typename C , typename R , typename... Args>
template<size_t index>
using function_traits< R(C::*)(Args...) const >::arg_type = typename std::tuple_element_t<index, std::tuple<Args...> >

Member Data Documentation

◆ arity

template<typename C , typename R , typename... Args>
const size_t function_traits< R(C::*)(Args...) const >::arity = sizeof...(Args)
static