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

Allow modes on self #2585

Closed
eholk opened this issue Jun 13, 2012 · 5 comments
Closed

Allow modes on self #2585

eholk opened this issue Jun 13, 2012 · 5 comments
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one.

Comments

@eholk
Copy link
Contributor

eholk commented Jun 13, 2012

It'd be nice to pass self by move, or at least by copy (whatever + mode is). This would make my new vector addition in the library code faster since we could avoid always copying self.

@pcwalton
Copy link
Contributor

This will be addressed by the removal of argument modes, plus max/min classes.

@catamorphism
Copy link
Contributor

@pcwalton Is there an issue open for max/min classes yet?

@pcwalton
Copy link
Contributor

@catamorphism Not yet, still ironing out the design.

@eholk
Copy link
Contributor Author

eholk commented Jul 17, 2012

This is now part of #2794, correct?

@msullivan
Copy link
Contributor

Not really part of #2794. This is now the related "explicit self type" proposal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one.
Projects
None yet
Development

No branches or pull requests

4 participants