Skip to content

Implement std::iter::Sum#15

Merged
mqudsi merged 1 commit intoneosmart:masterfrom
amitayh:master
Mar 8, 2025
Merged

Implement std::iter::Sum#15
mqudsi merged 1 commit intoneosmart:masterfrom
amitayh:master

Conversation

@amitayh
Copy link
Contributor

@amitayh amitayh commented Mar 3, 2025

This allows to easily sum an iterator of sizes.

This allows to easily sum an iterator of sizes.
@mqudsi
Copy link
Member

mqudsi commented Mar 8, 2025

Thanks, this looks good. The addition of a zero const is great, and it's good to see summation works with borrowed and owned Size instances. 👍

@mqudsi mqudsi merged commit 662032b into neosmart:master Mar 8, 2025
1 check failed
@mqudsi
Copy link
Member

mqudsi commented Mar 8, 2025

Oops that broke non-std builds.

mqudsi added a commit that referenced this pull request Mar 28, 2025
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