tfel
Loading...
Searching...
No Matches
tfel::fsalgo::internals::do_loop< I, N > Struct Template Reference

an helper structure to unroll the loop at compile time. More...

#include </home/runner/work/tfel/tfel/include/TFEL/FSAlgorithm/loop.hxx>

Static Public Member Functions

template<typename F>
TFEL_HOST_DEVICE static constexpr void exe (F &f)
 perform on step of the loop and call the next one

Detailed Description

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
Icurrent indice
Nindice corresponding to the end of the loop

Member Function Documentation

◆ exe()

template<unsigned int I, unsigned int N>
template<typename F>
TFEL_HOST_DEVICE static constexpr void tfel::fsalgo::internals::do_loop< I, N >::exe ( F & f)
inlinestaticconstexpr

perform on step of the loop and call the next one

Template Parameters
Ftype of the callable
Parameters
[in,out]fcallable describing the body of the loop

The documentation for this struct was generated from the following file: