The function_traits
Struct Template Reference
Struct template specialisation for extracting function traits from plain function types. More...
Declaration
Included Headers
Public Member Typedefs Index
template <class R, class... Args_T> | |
using | args = list< Args_T... > |
Type list of all argument types. More... | |
template <class R, class... Args_T> | |
using | result_type = R |
The return type of the function. More... | |
Description
Struct template specialisation for extracting function traits from plain function types.
- Template Parameters
-
R The return type of the function.
...Args_T The argument types of the function.
This specialisation of the function_traits struct template provides compile-time introspection for plain function types (i.e., non-pointer, non-member functions). It exposes the return type and argument types of a function, enabling advanced template metaprogramming and type deduction within the µTest++ framework.
The result_type member defines the return type of the function, while the args member is a type list containing all argument types.
Definition at line 235 of file type-traits.h.
Public Member Typedefs
args
|
Type list of all argument types.
Definition at line 245 of file type-traits.h.
result_type
|
The return type of the function.
Definition at line 240 of file type-traits.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus by Doxygen 1.14.0.