Skip to content

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

Open
ecatmur wants to merge 1 commit into
boostorg:developfrom
ecatmur:std-ranges
Open

Allow using C++20 ranges with Boost.Range#123
ecatmur wants to merge 1 commit into
boostorg:developfrom
ecatmur:std-ranges

Conversation

@ecatmur

Copy link
Copy Markdown

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 freeto 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

@ecatmur