The FunctionTraits Class Definitions and Implementation. More...
Go to the source code of this file.
Classes | |
| struct | Spices::detail::basic_function_traits< Ret(Args...)> |
| Implementation of basic_function_traits. More... | |
| struct | Spices::detail::is_function< T > |
| Determine if a given T is a function. More... | |
| struct | Spices::function_traits< Ret(*)(Args...)> |
| Implementation of function_traits without class. More... | |
| struct | Spices::function_traits< Ret(C::*)(Args...)> |
| Implementation of function_traits with class. More... | |
| struct | Spices::function_traits< Ret(C::*)(Args...) const > |
| Implementation of function_traits with class const. More... | |
Namespaces | |
| namespace | Spices |
| namespace | Spices::detail |
Typedefs | |
| template<auto F> | |
| using | Spices::function_pointer_type_t = decltype(detail::function_pointer_type(F)) |
| Get class const function pointer type. | |
| template<auto F> | |
| using | Spices::function_traits_t = function_traits<function_pointer_type_t<F>> |
| traits of function. | |
Functions | |
| template<typename Ret , typename ... Params> | |
| auto | Spices::detail::function_pointer_type (Ret(*)(Params...)) -> Ret(*)(Params...) |
| Get function pointer type. | |
| template<typename Ret , typename Class , typename ... Params> | |
| auto | Spices::detail::function_pointer_type (Ret(Class::*)(Params...)) -> Ret(Class::*)(Params...) |
| Get class function pointer type. | |
Variables | |
| template<typename T > | |
| constexpr bool | Spices::is_function_v = detail::is_function<T>::value |
| Determine if a given T is a function. | |
The FunctionTraits Class Definitions and Implementation.
Definition in file FunctionTraits.h.