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

The use of clone() in macros? #19

Open
cheako opened this issue Mar 7, 2020 · 0 comments
Open

The use of clone() in macros? #19

cheako opened this issue Mar 7, 2020 · 0 comments

Comments

@cheako
Copy link

cheako commented Mar 7, 2020

I've seen where implementations for operations on a reference result in a clone being created. This clone should be explicit in the calling code, not implicit. If clone() was meant to be implicit that would be part of the core language and we don't see that for explicit reasons.

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

No branches or pull requests

1 participant