Closed remz1337 closed 3 years ago
Switch to ForwardIterator, (or having it conditionally) comes up occasionally. It especially makes sense for the combinatorics which require underlying ForwardIterators, but unfortunately (and surprisingly) the switch would break some existing uses.
Hello, I'm trying to use the transform_reduce function from the standard library with the iterator given by the combination function of this library but I'm getting the following error:
Error C2338 Parallel algorithms require forward iterators or stronger.
You can reproduce with this code: