tfel
Loading...
Searching...
No Matches
tfel::fsalgo::loop< N > Class Template Reference

#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)

Detailed Description

template<unsigned int N>
class tfel::fsalgo::loop< N >
Author
Thomas Helfer
Date
18/04/2018 This class is meant to manually unroll a loop a compile time. The body of the loop is passed as a callable taking the current indice as argument.

Member Function Documentation

◆ exe()

template<unsigned int N>
template<typename F>
TFEL_HOST_DEVICE static constexpr void tfel::fsalgo::loop< N >::exe ( F & f)
inlinestaticconstexpr
Template Parameters
Ftype of the callable
Parameters
[in,out]fcallable describing the body of the loop

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