[Editorial] Fix various typos and missing punctuation in multiple code synopses#9006
Open
guyutongxue wants to merge 6 commits intocplusplus:mainfrom
Open
[Editorial] Fix various typos and missing punctuation in multiple code synopses#9006guyutongxue wants to merge 6 commits intocplusplus:mainfrom
guyutongxue wants to merge 6 commits intocplusplus:mainfrom
Conversation
…g comma in `hypot`, `lerp` and `fma`
There was a problem hiding this comment.
Pull request overview
This PR makes editorial fixes to C++ standard “synopsis” code blocks to correct punctuation/markup issues identified by a parser, without changing normative meaning.
Changes:
- Fixes typos and missing punctuation (e.g., semicolons, commas) in multiple synopsis declarations.
- Repairs malformed template arguments / markup delimiters in several synopsis blocks.
- Fixes a missing opening brace in an
execsynopsis function definition.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| source/threads.tex | Fixes a placeholder typo and repairs a malformed chrono::time_point template argument list in synopsis declarations. |
| source/ranges.tex | Adds a missing semicolon to a requires-clause constructor declaration in a synopsis block. |
| source/numerics.tex | Fixes \exposid markup placement, removes a stray > in a template head, and adds missing commas in several function parameter lists. |
| source/exec.tex | Adds a missing { to a synopsis function definition so the body is properly formed. |
| source/containers.tex | Closes an unbalanced less<...> template argument list in a deduction guide. |
| source/algorithms.tex | Adds a missing semicolon to fill_n and closes projected_value_t<...> template arguments in a synopsis template head. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
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.
This PR addresses several minor editorial issues within code synopses across multiple files. These discrepancies were identified by running a custom recursive descent parser designed to extract symbols from synopsis blocks against the C++ grammar.
Summary of changes:
The fixes are purely editorial and do not change any normative meaning.
fill_n.projected_value_ttemplate arguments.hypot,fma, andlerpoverloads.>in template head ofbasic_mask.@for\exposid{array-size}inround_consts.filter_view::sentinel.{for function definition ofbasic-receiver::set_stopped.lesstemplate arguments.t:floating-poin-type->floating-point-type.chrono::time_pointtemplate arguments.