Repository navigation
[2026-11 LWG Motion 1] P4453R1, plus a fix [sic] - #9416
dietmarkuehl wants to merge 2 commits into
Conversation
|
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). |
|
Never mind, I'll handle that. |
| \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})}; |
There was a problem hiding this comment.
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 isstart_scheduler_type.
We seem to be inconsistent about "if this expression" vs "if that expression", and between "is valid" and "is well-formed".
jensmaurer
left a comment
There was a problem hiding this comment.
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).
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_allocatorwhich is missing: the paper has the definition ofget_scheduler_allocator_tand referencesget_scheduler_allocatorbut it doesn't actually define it:I hope this addition can be considered editorial. If I should rather leave it out and raise an LWG issue, please let me know.