template <typename... T>
struct parameter_pack
Defined at line 29 of file ../../sdk/lib/fit/include/lib/fit/traits.h
Encapsulates capture of a parameter pack. Typical use is to use instances of this empty struct
for type dispatch in function template deduction/overload resolution.
Example:
template
<typename
Callable, typename... Args>
auto inspect_args(Callable c, parameter_pack
<Args
...>) {
// do something with Args...
}
template
<typename
Callable>
auto inspect_args(Callable c) {
return inspect_args(std::move(c), typename callable_traits
<Callable
>::args{});
}
Public Members
static const size_t size