Open ecatmur opened 3 years ago
e.g.:
std::views::iota(99) | std::views::common | boost::adaptors::indexed(42)
obviously this won't work with heterogeneous ranges, so i've constrained to common ranges.
Demo: https://godbolt.org/z/n53jWz
e.g.:
obviously this won't work with heterogeneous ranges, so i've constrained to common ranges.
Demo: https://godbolt.org/z/n53jWz