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

[iterators, ranges] Consider changing default member initializers of form = T() to {}? #7185

Open
frederick-vs-ja opened this issue Jul 29, 2024 · 1 comment

Comments

@frederick-vs-ja
Copy link
Contributor

frederick-vs-ja commented Jul 29, 2024

The form T mem_ = T(); seems originally introduced in ericniebler/stl2@d115fc7 because of LWG3149.

Given LWG3149 has been resolved long time ago, should/can we switch back to the simpler form (T mem_{};)?

@jwakely
Copy link
Member

jwakely commented Jul 29, 2024

Was that the only reason we've been avoiding the {} form? I don't remember.

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

2 participants