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

The hyperlink [stmt.if] is wrong in [dcl.spec.auto]/3 #2659

Closed
jabelloc opened this issue Jan 29, 2019 · 2 comments
Closed

The hyperlink [stmt.if] is wrong in [dcl.spec.auto]/3 #2659

jabelloc opened this issue Jan 29, 2019 · 2 comments

Comments

@jabelloc
Copy link

The hyperlink [stmt.if] in [dcl.spec.auto]/3 should be replaced by
[dcl.type.auto.deduct].

@tkoeppe
Copy link
Contributor

tkoeppe commented Jan 29, 2019

Why do you think so?

Isn't the purpose of the link to explain "discarded return statement"?

@jwakely
Copy link
Member

jwakely commented Jan 29, 2019

Yes. That paragraph is a brief summary of the rules in [dcl.type.auto.deduct], so doesn't need to link to it. The reference to [stmt.if] is because it defines discarded return statement.

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

No branches or pull requests

3 participants