Skip to content
Snippets Groups Projects
Commit c225f437 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

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))
      {
          ...
      }
parent a927487b
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment