Skip to content

[2026-11 LWG Motion 1] P4453R1, plus a fix [sic] - #9416

Open
dietmarkuehl wants to merge 2 commits into
cplusplus:mainfrom
dietmarkuehl:main
Open

dietmarkuehl wants to merge 2 commits into
cplusplus:mainfrom
dietmarkuehl:main

Conversation

@dietmarkuehl

@dietmarkuehl dietmarkuehl commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #9400.
Also fixes https://github.com/cplusplus/nbballot/issues/1014.

The changes are in the middle of the paper, without a "Wording" headline: they are at the end of Section 2, right before Section 3.

Note: This edit adds the definition of get_scheduler_allocator which is missing: the paper has the definition of get_scheduler_allocator_t and references get_scheduler_allocator but it doesn't actually define it:

inline constexpr get_scheduler_allocator_t get_scheduler_allocator{};

I hope this addition can be considered editorial. If I should rather leave it out and raise an LWG issue, please let me know.

Copilot AI balanced review requested due to automatic review settings November 21, 2026 19:12

This comment was marked as abuse.

@tkoeppe tkoeppe changed the title Added the changes from P4453R1. Note: plus a fix! [2026-11 LWG Motion 1] P4453R1, plus a fix [sic] Nov 22, 2026
@tkoeppe

tkoeppe commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Can we have the change that's not in the paper in a separate commit please? It's fine to make further editorial changes, but it'd be good if we have a commit that reflects the paper as moved (except for trivial fixes like typos, which are fine to do in the main commit).

@tkoeppe

tkoeppe commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Never mind, I'll handle that.

Comment thread source/exec.tex Resolved
Comment thread source/exec.tex Outdated
Comment on lines +8025 to +8029
\item if
\tcode{same_as<start_scheduler_type,\\
remove_cvref_t<decltype(get_start_scheduler(\placeholder{ev}))>>}
is \tcode{true},\\
\tcode{get_start_scheduler(\placeholder{ev})};

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.

Copilot should be disabled for WG21 papers, but this does seem like a problem in the wording. The text being replaced does allow for the expression not being well-formed.

Also, the new (4.3.1) is phrased "if condition, result" but (4.3.2) - (4.3.4) are phrased "result, if condition".

I think it would work to phrase (4.3.1) as:

get_start_scheduler(ev) if this expression is valid and has type is start_scheduler_type.

We seem to be inconsistent about "if this expression" vs "if that expression", and between "is valid" and "is well-formed".

Comment thread source/exec.tex Resolved
@eisenwave eisenwave added this to the post-2026-11 milestone Nov 25, 2026

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

Please fix the failing check:

##[error]exec.tex:915:bad concept name: \exposconcept{simple-al-locator}\iref{allocator.requirements.general}.

Fixes IE 133 (C++26 DIS)

Editorial notes: In [task.state]...
  * Moved "Let ev be" up to the beginning of Effects: to avoid
    a typographic ambiguity in the list item where it appeared
    originally.
  * Used code blocks for long expressions.
  * Inserted a comma after "otherwise" in the last item.
…r" object.

This synopsis change was accidentally omitted from P4453R1
(but obviously this object is meant to exist, and referred
to in the rest of the wording).
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.

[2026-11 LWG Motion 1] P4453R1 Memory allocation with senders/receivers; a response to IE-133

7 participants