an helper structure to unroll the loop at compile time.
More...
#include </home/runner/work/tfel/tfel/include/TFEL/FSAlgorithm/loop.hxx>
|
| template<typename F> |
| TFEL_HOST_DEVICE static constexpr void | exe (F &f) |
| | perform on step of the loop and call the next one
|
template<unsigned int I, unsigned int N>
struct tfel::fsalgo::internals::do_loop< I, N >
an helper structure to unroll the loop at compile time.
- Template Parameters
-
| I | current indice |
| N | indice corresponding to the end of the loop |
◆ exe()
template<unsigned int I, unsigned int N>
template<typename F>
perform on step of the loop and call the next one
- Template Parameters
-
- Parameters
-
| [in,out] | f | callable describing the body of the loop |
The documentation for this struct was generated from the following file: