Skip to content

[exec.stopped.opt] Add transform_sender tag#9160

Open
abhinavagarwal07 wants to merge 1 commit into
cplusplus:mainfrom
abhinavagarwal07:fix-stopped-as-optional-transform-sender
Open

[exec.stopped.opt] Add transform_sender tag#9160
abhinavagarwal07 wants to merge 1 commit into
cplusplus:mainfrom
abhinavagarwal07:fix-stopped-as-optional-transform-sender

Conversation

@abhinavagarwal07

Copy link
Copy Markdown
Contributor

Pass set_value to stopped_as_optional.transform_sender in the not-a-sender branch, matching the tagged call used by the guard in the same paragraph.

@eisenwave eisenwave added the P1-Important Misapplication of paper, malformed code, internal inconsistencies label Jun 26, 2026

@eisenwave eisenwave 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.

Problem introduced with https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3557r3.html / #8035

The added wording says stopped_as_optional.transform_sender(sndr, env), but transform_sender has three parameters.

I think this came to be because P3557R3 cited an old version of pre-existing wording where it's still transform_sender(sndr, env), so LWG didn't notice that the new (green) wording should not have two arguments in the call expression, but three.

@eisenwave

Copy link
Copy Markdown
Member

@abhinavagarwal07 in the future, could you provide the necessary historical context on these PRs?

It's important to know whether something is a misapplication of a paper or a problem introduced by paper/LWG issue, etc. The fixes are greatly appreciated though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P1-Important Misapplication of paper, malformed code, internal inconsistencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants