search for: argrange

Displaying 2 results from an estimated 2 matches for "argrange".

Did you mean: arange
2016 Dec 14
2
Openness to a "zip_iterator" type?
...range with an iterator pattern on the other. IMO, the correct solution to this would be a templated 'zip' type (similar, though not identical to http://www.boost.org/doc/libs/1_62_0/libs/iterator/doc/zip_iterator.html) that would permit: for (auto&& things : IteratorZip(ParmRange, ArgRange)) { [CurParm, CurArg] = things; // things is a tuple that contains a reference to each value } If I were to implement this IteratorZip type for the LLVM codebase, would this be something the community would be interested in/accept/use? Am I missing an obvious existing implementation somewhere?...
2016 Dec 14
0
Openness to a "zip_iterator" type?
...or pattern on the other. > > IMO, the correct solution to this would be a templated 'zip' type (similar, though not identical to http://www.boost.org/doc/libs/1_62_0/libs/iterator/doc/zip_iterator.html) that would permit: > > for (auto&& things : IteratorZip(ParmRange, ArgRange)) { > [CurParm, CurArg] = things; // things is a tuple that contains a reference to each value > } > > > If I were to implement this IteratorZip type for the LLVM codebase, would this be something the community would be interested in/accept/use? Am I missing an obvious existing im...