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

Value Class Members #3

Open
Databean opened this issue May 6, 2014 · 0 comments
Open

Value Class Members #3

Databean opened this issue May 6, 2014 · 0 comments

Comments

@Databean
Copy link
Owner

Databean commented May 6, 2014

Classes with very large member variables should consider having unique_ptrs instead of value members, created in the constructor. ClassFile is a particularly egregious example, as the magic number becomes awkward in code to verify with the initialization of all the member variables.

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