|
Thrill
0.1
|
specialize for function pointers
Definition at line 72 of file function_traits.hpp.
#include <function_traits.hpp>
Public Types | |
| template<size_t i> | |
| using | arg = typename std::tuple_element< i, args_tuple >::type |
| template<size_t i> | |
| using | arg_plain = typename std::remove_cv< typename std::remove_reference< arg< i > >::type >::type |
| using | args_tuple = std::tuple< Args... > |
| the tuple of arguments More... | |
| using | args_tuple_plain = std::tuple< typename std::remove_cv< typename std::remove_reference< Args >::type >::type... > |
| the tuple of arguments: with remove_cv and remove_reference applied. More... | |
| using | is_const = std::true_type |
| using | result_type = ReturnType |
Static Public Attributes | |
| static constexpr size_t | arity = sizeof ... (Args) |
| arity is the number of arguments. More... | |
| using arg = typename std::tuple_element<i, args_tuple>::type |
the i-th argument is equivalent to the i-th tuple element of a tuple composed of those arguments.
Definition at line 91 of file function_traits.hpp.
return i-th argument reduced to plain type: remove_cv and remove_reference.
Definition at line 98 of file function_traits.hpp.
| using args_tuple = std::tuple<Args...> |
the tuple of arguments
Definition at line 81 of file function_traits.hpp.
| using args_tuple_plain = std::tuple< typename std::remove_cv< typename std::remove_reference<Args>::type>::type...> |
the tuple of arguments: with remove_cv and remove_reference applied.
Definition at line 86 of file function_traits.hpp.
| using is_const = std::true_type |
Definition at line 78 of file function_traits.hpp.
| using result_type = ReturnType |
Definition at line 77 of file function_traits.hpp.
|
static |
arity is the number of arguments.
Definition at line 75 of file function_traits.hpp.