Skip to content

Enable non-const iteration over Options#3186

Merged
ZedThree merged 1 commit into
nextfrom
options-iterator
Oct 23, 2025
Merged

Enable non-const iteration over Options#3186
ZedThree merged 1 commit into
nextfrom
options-iterator

Conversation

@ZedThree
Copy link
Copy Markdown
Member

This allows iterating over an Options like this:

for (auto& [name, child] : option) {

and being able to modify child

@ZedThree ZedThree requested a review from cmacmackin October 23, 2025 16:08
@ZedThree ZedThree merged commit 4e395d9 into next Oct 23, 2025
27 checks passed
@ZedThree ZedThree deleted the options-iterator branch October 23, 2025 17:16
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