Skip to content

added a range function for range based for loops over consecutive integers

Andreas Dedner requested to merge feature/integer-range-based-for into master

Usage:

for (auto i : integralRange(0,10)) ;

or

IntegralRange<Index> foo() { return {start,end}; }
for (auto i : foo()) ;

Merge request reports

Loading