Skip to content

std: Make atomic types non-copyable. Closes #8380 #10344

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

Merged
merged 1 commit into from
Nov 8, 2013

Conversation

brson
Copy link
Contributor

@brson brson commented Nov 8, 2013

I didn't try to add clone methods since it's not clear to me which types are appropriate to clone or what the memory ordering should be.

@alexcrichton
Copy link
Member

Hm, it may be worth it to have a compile-fail tests which ensures that these aren't copyable?

@brson
Copy link
Contributor Author

brson commented Nov 8, 2013

@alexcrichton Done.

bors added a commit that referenced this pull request Nov 8, 2013
I didn't try to add clone methods since it's not clear to me which types are appropriate to clone or what the memory ordering should be.
@bors bors closed this Nov 8, 2013
@bors bors merged commit eabdc8c into rust-lang:master Nov 8, 2013
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.

3 participants