Skip to content

Our copy constructor is unnecessary#11

Open
AGFeldman wants to merge 1 commit intomasterfrom
copy_constructor
Open

Our copy constructor is unnecessary#11
AGFeldman wants to merge 1 commit intomasterfrom
copy_constructor

Conversation

@AGFeldman
Copy link
Contributor

Our assignment operator is also unnecessary. They are both identical to
the defaults. Reword to make that clear.

Closes #3

Our assignment operator is also unnecessary. They are both identical to
the defaults. Reword to make that clear.

Closes #3
x = i; y = j;
}

// This is a "copy constructor." It is actually identical to the default
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we include this exposition? Or just remove the unnecessary copy constructor and assignment operator?

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

Successfully merging this pull request may close these issues.

1 participant