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

Add "take a copy for immediate local use" case to F.16 #2172

Merged
merged 1 commit into from
Apr 11, 2024
Merged

Conversation

hsutter
Copy link
Contributor

@hsutter hsutter commented Jan 18, 2024

Closes #2170

Copy link
Contributor

@JohelEGP JohelEGP left a comment

Choose a reason for hiding this comment

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

The "Enforcement" section still doesn't account for "expensive" "by value" parameters.

@hsutter
Copy link
Contributor Author

hsutter commented Apr 11, 2024

Re expensive to copy: Right, this assumes that we know we want to make a copy, to the programmer has already taken that into account.

@hsutter
Copy link
Contributor Author

hsutter commented Apr 11, 2024

Editors call: Approved.

@hsutter hsutter merged commit 4f723b0 into master Apr 11, 2024
0 of 2 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.

F.16 (pass by reference to const / by value): Request for clarification
2 participants