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

[dcl.spec.auto] Use of undeduced placeholder types #1947

Merged
merged 1 commit into from Apr 1, 2018

Conversation

jensmaurer
Copy link
Member

As discussed for CWG 2285, variables declared with a
placeholder type should never reference itself in the
initializer. Similarly, clarify the treatment of
deduced function return types.

Fixes #1942.

@jensmaurer jensmaurer added the cwg Issue must be reviewed by CWG. label Feb 28, 2018
As discussed for CWG 2285, variables declared with a
placeholder type should never reference itself in the
initializer.  Similarly, clarify the treatment of
deduced function return types.
@jensmaurer jensmaurer removed the cwg Issue must be reviewed by CWG. label Mar 15, 2018
@jensmaurer
Copy link
Member Author

jensmaurer commented Mar 16, 2018

CWG in Jacksonville: "If the name of an entity with an undeduced placeholder type appears in an expression, the program is ill-formed."

This is applied to the git branch and the diff in the branch has been okayed by CWG, so this is now ready to merge.

@tkoeppe tkoeppe added the after-motions Pull request is to be applied after the pending edits from WG21 straw polls have been applied. label Mar 30, 2018
@zygoloid zygoloid merged commit a257a07 into cplusplus:master Apr 1, 2018
@jensmaurer jensmaurer deleted the b29 branch April 1, 2018 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
after-motions Pull request is to be applied after the pending edits from WG21 straw polls have been applied.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants