Open traviscross opened 4 months ago
Would a cartesian_product
method be within scope or is this issue strictly about copying methods from Iterator
?
Implementing a cartesian_product
is my primary use of flat_map
on ranges and what I've seen in the wild. Being an inherent method, it might be possible to write a more optimized version in std than a user would naively write as well.
This is strictly about what inherent methods we want to copy from Iterator
onto the new range types. Anything else that can be implemented on the existing range types should go through the ACP process
There's been discussion on the tracking issue:
...about which methods to add to the new
Range
types. Let's continue that here.@orlp said:
cc @orlp @pitaj @programmerjake