There are dual-sequence overloads for transform() (this overload is called zip in may other languages) and transform_reduce(), in the standard, but there is no similar version for transform_inclusive_scan() or transform_exclusive_scan(). This patch-set also adds constexpr support to the existing overloads.
There are dual-sequence overloads for
transform()
(this overload is calledzip
in may other languages) andtransform_reduce()
, in the standard, but there is no similar version fortransform_inclusive_scan()
ortransform_exclusive_scan()
. This patch-set also addsconstexpr
support to the existing overloads.h/t to @elbeno for suggesting implementing this.