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

Use const references #2

Merged
merged 3 commits into from
Sep 29, 2014
Merged

Use const references #2

merged 3 commits into from
Sep 29, 2014

Conversation

SfietKonstantin
Copy link
Contributor

In C++ to pass objects that are not going to be modified, we should prefer passing with const references instead of copying it.

Depends on #1

matrixx added a commit that referenced this pull request Sep 29, 2014
@matrixx matrixx merged commit ab7579d into matrixx:master Sep 29, 2014
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.

None yet

2 participants