Template Struct function_traits

Inheritance Relationships

Derived Types

Struct Documentation

template<typename FunctionT>
struct function_traits

Subclassed by rclcpp::function_traits::function_traits< FunctionT & >, rclcpp::function_traits::function_traits< FunctionT && >

Public Types

using arguments = typename tuple_tail<typename function_traits<decltype(&FunctionT::operator())>::arguments>::type
template<std::size_t N>
using argument_type = typename std::tuple_element<N, arguments>::type
using return_type = typename function_traits<decltype(&FunctionT::operator())>::return_type

Public Static Attributes

static constexpr std::size_t arity = std::tuple_size<arguments>::value