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

Revert "Return strings by value for NRVO (#71)" #73

Merged
merged 2 commits into from
Dec 10, 2023
Merged

Conversation

lfreist
Copy link
Owner

@lfreist lfreist commented Dec 10, 2023

This reverts commit 10d87e8.

Copy elision cannot replace const reference return values in this case.

@lfreist lfreist merged commit f246493 into main Dec 10, 2023
4 of 5 checks passed
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