Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[class.copy.elision] Improve reference and replace informal term #6546

Merged
merged 1 commit into from Nov 8, 2023

Conversation

Eisenwave
Copy link
Contributor

@Eisenwave Eisenwave commented Sep 1, 2023

The term "exception handler" isn't defined anywhere, so it is a mistake to refer to it.

Just a few bullets up, the wording refers to the term in the grammar, making the subsequent bullet inconsistent

draft/source/classes.tex

Lines 6213 to 6216 in 1339fdd

object with automatic storage duration (other than a function parameter or a variable
introduced by the \grammarterm{exception-declaration} of a
\grammarterm{handler}\iref{except.handle})
with the same type (ignoring cv-qualification) as

Also, except.handle is a more accurate reference than except.pre.

Copy link
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.

Looks like an improvement.

@tkoeppe tkoeppe merged commit 11334c7 into cplusplus:main Nov 8, 2023
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.

None yet

3 participants