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

simplify c++ code base with copy elision #386

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
Draft

simplify c++ code base with copy elision #386

wants to merge 9 commits into from

Conversation

anilbey
Copy link
Contributor

@anilbey anilbey commented Apr 30, 2024

Description

Avoids creating and returning unnecessary vectors.

Checklist:

  • Unit tests are added to cover the changes (skip if not applicable).
  • The changes are mentioned in the documentation (skip if not applicable).
  • CHANGELOG file is updated (skip if not applicable).

@anilbey
Copy link
Contributor Author

anilbey commented Jun 21, 2024

Note: this does not change the behaviour it only avoids some redundancies which are nowadays handled by the compilers.

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