-
Notifications
You must be signed in to change notification settings - Fork 4
P3732R1 (numeric ranges algorithms) #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mhoemmen
wants to merge
36
commits into
main
Choose a base branch
from
P3732R1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Only fix grammar, wording, and formatting. This commit has no substantial changes. I'm not currently able to render the document, so I haven't tested whether these changes render correctly.
Port discussion from SG9 slides #31 .
Add section explaining `reduce_into` and `transform_reduce_into`.
* Explain that `transform_reduce_into` would include both unary and binary versions. * Discuss output range vs. output single iterator and conclude that we want the former. * Discuss output iterator category in more detail.
* Add `sum_into`, `product_into`, and `dot_into` * Update P2902 reference to R2 * Update P3179 status throughout (adopted for C++26)
Spell out that for "`_into`" algorithms, the output range is a nonempty `sized_range` + `forward_range`. Explain why and discuss alternatives.
Start expressing our 2025/09/10 design discussion about specifying the identity for reductions and scans. The new Summary subjection of "Specifying an identity for reductions and scans" expresses the result of our discussion.
akukanov
reviewed
Sep 26, 2025
mhoemmen
commented
Oct 1, 2025
rarutyun
reviewed
Oct 1, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update non-wording sections
reduce_intoandtransform_reduce_intoThis incorporates design discussions in #31 .
This PR supersedes PR #35. The idea is to put the PR's branch in the main repository, so that other coauthors can push to it.
@rarutyun @akukanov