Template Function gamer::array_util::flatten¶
Defined in File tensor.h
Function Documentation¶
-
template<typename
Fn
, typename ...Ts
>
voidgamer::array_util
::
flatten
(Fn f, Ts... args)¶ Apply a functor to a sequence.
- Parameters
[in] f
: Functor to apply with prototype void f(type, type)[in] args
: The arguments, array, or sequence
- Template Parameters
Fn
: Typename of the functorTs
: Typenames of arguments