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.default.ctor] Default member initializer and brace-or-equal-initializer #6067

Open
frederick-vs-ja opened this issue Jan 29, 2023 · 0 comments

Comments

@frederick-vs-ja
Copy link
Contributor

Currently both item "default member initializer" and grammar production brace-or-equal-initializer are used in [class.default.ctor]. As brace-or-equal-initializer is only used together with non-static data members in [class.default.ctor], I think it is equivalent to default member initializer there. Is it intended to use both forms?

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

1 participant