Skip to content

Conversation

@ecatmur
Copy link

@ecatmur ecatmur commented Feb 18, 2021

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.:

    std::views::iota(99) | std::views::common | boost::adaptors::indexed(42)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant