|
Templa 0.0.1-alpha
C++ Metaprogramming Utilities
|
Primary template for function traits. Specialization used to extract traits from functor types (e.g., lambdas). More...
#include <traits.hpp>
Classes | |
| struct | argument |
| Retrieves the type of the N-th argument. More... | |
Public Types | |
| using | return_type = typename call_type::return_type |
| The return type of the function. | |
Static Public Attributes | |
| static constexpr std::size_t | arity = call_type::arity - 1 |
| The number of arguments (excluding the implicit object parameter). | |
Primary template for function traits. Specialization used to extract traits from functor types (e.g., lambdas).
| F | Functor type (i.e., any type with operator()). |