CoDiPack  2.2.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::CompileTimeLoop< T_pos > Struct Template Reference

Compile time loop evaluation. More...

#include <compileTimeLoop.hpp>

Static Public Member Functions

template<typename Func , typename... Args>
static void eval (Func &&func, Args &&... args)
 Func is evaluated with args as func(pos, args...)
 

Static Public Attributes

static size_t constexpr pos = T_pos
 See CompileTimeLoop.
 

Detailed Description

template<size_t T_pos>
struct codi::CompileTimeLoop< T_pos >

Compile time loop evaluation.

pos is counted backwards until zero excluding zero.

Called range is: (0,pos]

Template Parameters
T_posStarting value for the loop. Counted downwards.

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