Skip to content

Add C++ iterators to forward_list - #30

Merged
teor2345 merged 7 commits into
mainfrom
fwd-list-iter
Sep 28, 2026
Merged

teor2345 merged 7 commits into
mainfrom
fwd-list-iter

Conversation

@teor2345

Copy link
Copy Markdown
Collaborator

This PR:

  • adds iterators to forward_list, including constructors taking iterators
    • notes which forward_list methods still need to be analysed
  • gives an example of stable Rust "overloading" on & and &mut using generic wrapper types
  • lets mutable iterators be downgraded to const

This PR also includes some doc, warning, and typedef cleanups.

Follow Ups

Maybe some of the other &/&mut issues could be resolved using wrapper types.

@teor2345 teor2345 self-assigned this Sep 28, 2026
@teor2345 teor2345 added documentation Improvements or additions to documentation enhancement New feature or request labels Sep 28, 2026
@teor2345
teor2345 merged commit 80359bd into main Sep 28, 2026
11 checks passed
@teor2345
teor2345 deleted the fwd-list-iter branch September 28, 2026 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant