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

ENH: expose IntRange {begin,end}_value() methods

- end_value() corresponds to the infrequently used after() method, but
  with naming that corresponds better to iterator naming conventions.

  Eg,

     List<Type> list = ...;
     labelRange range = ...;

     std::transform
     (
         (list.data() + range.begin_value()),
         (list.data() + range.end_value()),

         outIter,
         op
     );

- promote min()/max() methods from labelRange to IntRange base class

STYLE: change timeSelector from "is-a" to "has-a" scalarRanges.
parent 21f037e3
Branches
Tags
No related merge requests found
Showing
with 249 additions and 313 deletions
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