Skip to content

Feature: next_to_range & next_to_iter#101

Merged
liss-h merged 9 commits into
developfrom
feature/iter-wrapper
Oct 20, 2025
Merged

Feature: next_to_range & next_to_iter#101
liss-h merged 9 commits into
developfrom
feature/iter-wrapper

Conversation

@liss-h

@liss-h liss-h commented Oct 15, 2025

Copy link
Copy Markdown
Contributor

Make a C++-style range (or iterator) out of a rust-style iterator.

For the review: start with the example, that should make everything clear.

@liss-h liss-h requested review from bigerl and removed request for bigerl October 15, 2025 15:34
Comment thread include/dice/template-library/iter_to_range.hpp Outdated
@liss-h liss-h requested a review from bigerl October 16, 2025 07:16

@bigerl bigerl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx for the PR. I really like this idea. For most cases, this rust-style iterators are super simple to define wheras C++ is maximum boilerplate.

Comment thread include/dice/template-library/next_to_range.hpp
Comment thread include/dice/template-library/next_to_range.hpp
Comment thread include/dice/template-library/next_to_range.hpp
@liss-h liss-h changed the title Feature: iter_to_range Feature: next_to_range & next_to_iter Oct 20, 2025
@liss-h liss-h requested a review from bigerl October 20, 2025 08:24
@liss-h liss-h merged commit 9b65ca5 into develop Oct 20, 2025
7 checks passed
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.

2 participants