Skip to content

[Editorial] Fix various typos and missing punctuation in multiple code synopses#9006

Open
guyutongxue wants to merge 6 commits intocplusplus:mainfrom
guyutongxue:fix-synopsis-typo
Open

[Editorial] Fix various typos and missing punctuation in multiple code synopses#9006
guyutongxue wants to merge 6 commits intocplusplus:mainfrom
guyutongxue:fix-synopsis-typo

Conversation

@guyutongxue
Copy link
Copy Markdown

@guyutongxue guyutongxue commented Apr 28, 2026

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.

  • algorithms.tex:
    • Added missing semicolon to fill_n.
    • Fixed unclosed projected_value_t template arguments.
  • numerics.tex:
    • Added missing commas in parameter lists for hypot, fma, and lerp overloads.
    • Removed a redundant > in template head of basic_mask.
    • Corrected the placement of the closing @ for \exposid{array-size} in round_consts.
  • ranges.tex: Added missing semicolon to a constructor definition of filter_view::sentinel.
  • exec.tex: Added a missing opening brace { for function definition of basic-receiver::set_stopped.
  • containers.tex: Fixed unclosed less template arguments.
  • threads.tex:
    • Corrected a misplaced t: floating-poin-type -> floating-point-type.
    • Fixed unclosed chrono::time_point template arguments.

Copilot AI review requested due to automatic review settings April 28, 2026 08:59
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 exec synopsis 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.

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.

2 participants