File for_in_range.h
FileList > code_source > templat > include > TempLat > util > rangeiteration > for_in_range.h
Go to the source code of this file
#include "TempLat/util/foreach.h"#include "TempLat/util/rangeiteration/taglist.h"
Namespaces
| Type | Name |
|---|---|
| namespace | TempLat |
Classes
| Type | Name |
|---|---|
| struct | ForRangeHelper <i, j> |
| struct | ForRangeHelper< i, 0 > <i> |
Macros
| Type | Name |
|---|---|
| define | ForLoop (i, start, end, expr) for\_in\_range<start, end + 1>([&](auto i) { expr; })A macro to simplify the usage of the for_in_range function. Note that this for-loop is INCLUSIVE of the start AND end. |
Macro Definition Documentation
define ForLoop
A macro to simplify the usage of the for_in_range function. Note that this for-loop is INCLUSIVE of the start AND end.
@vocab-summary Runs expr once per index in a compile-time range, for side effects rather than a value. @vocab-signature ForLoop(i, beg, end, expr)
The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/util/rangeiteration/for_in_range.h