boostorg / range

Boost.org range module
http://boost.org/libs/range
43 stars 101 forks source link

Allow using C++20 ranges with Boost.Range #123

Open ecatmur opened 3 years ago

ecatmur commented 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