ENH: new sliceRange class

- this is somewhat like labelRange, but with a stride.
  Can be used to define slices (of lists, fields, ..) or as a range specifier
  for a for-loop. For example,

      for (label i : sliceRange(0, 10, 3))
      {
          ...
      }
This commit is contained in:
Mark Olesen
2019-04-06 15:07:53 +02:00
committed by Andrew Heather
parent 06e709c26f
commit d4eb17a9ff
7 changed files with 773 additions and 0 deletions

View File

@ -0,0 +1,2 @@
/* EXE_INC = */
/* EXE_LIBS = */