This file is foreseen for the
Geometrymodule to replace
template<typename RA, typename RB>
auto zip(RA &&ra, RB &&rb)¶
Function that allows to zip two ranges to be used in a range-based for loop.
This is a very basic implementation for two ranges, but could relatively easily be extended with variadic templates.
the behaviour is undefined if the ranges do not have equal range
- Template Parameters
RA – The first range type
RB – The second range type
ra – The first range
rb – The second range
- template<typename RA, typename RB>