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

Clean up initialization of data members #344

Open
tap opened this issue Mar 4, 2015 · 0 comments
Open

Clean up initialization of data members #344

tap opened this issue Mar 4, 2015 · 0 comments

Comments

@tap
Copy link
Member

tap commented Mar 4, 2015

C++11 introduced the ability to initialize non-static data members in a sane way, finally, hooray!

Using braced initialization, the initial value can be specified in the class declaration (i.e. header file) instead of separately (and repeatedly/duplicately) in the far away constructor definition.

While doing this sweep we should ensure that we are initializing all of our members.

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