Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
FunctionTraits.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <AH/STL/cstddef>
4#include <AH/STL/tuple>
5
7
9
10template <class T>
12
13template <class Return, class... Args>
15 static constexpr size_t number_arguments = sizeof...(Args);
16
18 template <size_t Index>
19 struct argument {
20 using type =
21 typename std::tuple_element<Index, std::tuple<Args...>>::type;
22 };
23
24 template <size_t Index>
26};
27
#define END_AH_NAMESPACE
#define BEGIN_AH_NAMESPACE
A class for serial-in/parallel-out shift registers, like the 74HC595 that are connected to the SPI bu...
typename std::tuple_element< Index, std::tuple< Args... > >::type type
typename argument< Index >::type argument_t