Control Surface main
MIDI Control Surface library for Arduino
Classes | Public Types | Static Public Attributes | List of all members
function_traits< Return(Args...)> Struct Template Reference

#include <AH/Types/FunctionTraits.hpp>

Detailed Description

template<class Return, class... Args>
struct AH::function_traits< Return(Args...)>

Definition at line 17 of file FunctionTraits.hpp.

+ Collaboration diagram for function_traits< Return(Args...)>:


struct  argument

Public Types

using return_t = Return
template<size_t Index>
using argument_t = typename argument< Index >::type

Static Public Attributes

static constexpr size_t number_arguments = sizeof...(Args)

Class Documentation

◆ AH::function_traits< Return(Args...)>::argument

struct AH::function_traits< Return(Args...)>::argument
+ Collaboration diagram for function_traits< Return(Args...)>::argument< Index >:
Class Members
typedef typename tuple_element< Index, tuple< Args... > >::type type

Member Typedef Documentation

◆ return_t

using return_t = Return

Definition at line 20 of file FunctionTraits.hpp.

◆ argument_t

using argument_t = typename argument<Index>::type

Definition at line 28 of file FunctionTraits.hpp.

Member Data Documentation

◆ number_arguments

constexpr size_t number_arguments = sizeof...(Args)

Definition at line 18 of file FunctionTraits.hpp.

The documentation for this struct was generated from the following file: