Skip to content

[container.reqmts] Remove stray semicolon in description of expression#6823

Merged
tkoeppe merged 1 commit into
cplusplus:mainfrom
eisenwave:patch-21
Oct 30, 2025
Merged

[container.reqmts] Remove stray semicolon in description of expression#6823
tkoeppe merged 1 commit into
cplusplus:mainfrom
eisenwave:patch-21

Conversation

@eisenwave
Copy link
Copy Markdown
Member

According to [structure.specifications] p3.7, a Result is meaningful for expressions, but not statements.

The statement in question is t = v;, which has a Result specification below, which seems erroneous.

Removing the Result specification would have normative effect and doesn't seem like the right resolution anyway, so the semicolon should be removed. This also brings the t = v; in line with the next item, which is t = rv (no semicolon).

@eisenwave
Copy link
Copy Markdown
Member Author

@jwakely review please.

Copy link
Copy Markdown
Member

@jensmaurer jensmaurer left a comment

Choose a reason for hiding this comment

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

Change description should say "Remove", not "Fix"

@eisenwave eisenwave changed the title [container.reqmts] Fix stray semicolon in description of expression [container.reqmts] Remove stray semicolon in description of expression Jul 25, 2025
@tkoeppe tkoeppe merged commit d411b57 into cplusplus:main Oct 30, 2025
2 checks passed
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.

3 participants