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

[meta.rel] Fix incorrect use of \grammarterm{return-statement}. #1253

Merged
merged 1 commit into from Feb 4, 2017

Conversation

jensmaurer
Copy link
Member

Fixes #445.

types, array types, and function types.\end{note} Access checking is performed
in a context unrelated to \tcode{To} and \tcode{From}. Only the validity of
the immediate context of the \grammarterm{expression} of the \tcode{return} statement
(including conversions to the returned object or reference) is considered. \begin{note} The
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you mean to retain "conversion to" here? @zygoloid suggested "initialization of" instead. It seems more accurate to "initialize a reference" than to "convert to a reference".

Copy link
Member Author

Choose a reason for hiding this comment

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

Right.

@jensmaurer
Copy link
Member Author

Updated to use "initialization of" instead of "conversion".

@zygoloid zygoloid merged commit 9725a4b into cplusplus:master Feb 4, 2017
@jensmaurer jensmaurer deleted the b11 branch February 5, 2017 19:22
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