-
Notifications
You must be signed in to change notification settings - Fork 49
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
Move semantics? #43
Comments
I think this is a good idea, and should be able to implement something
along the lines of what's in C++ without too much trouble. (Roughly:
an additional rv-ref parameter type, move-copy and move-assign
operations, a way to specify that certain copy/assign operations
aren't permitted for a given type, and possible subsuming of retvals
within the rv-ref concept.)
|
tomhrr
added a commit
that referenced
this issue
Mar 6, 2016
tomhrr
added a commit
that referenced
this issue
Mar 6, 2016
tomhrr
added a commit
that referenced
this issue
Mar 7, 2016
tomhrr
added a commit
that referenced
this issue
Mar 8, 2016
tomhrr
added a commit
that referenced
this issue
Mar 9, 2016
tomhrr
added a commit
that referenced
this issue
Mar 10, 2016
tomhrr
added a commit
that referenced
this issue
Mar 11, 2016
tomhrr
added a commit
that referenced
this issue
Mar 12, 2016
tomhrr
added a commit
that referenced
this issue
Mar 13, 2016
tomhrr
added a commit
that referenced
this issue
Mar 14, 2016
tomhrr
added a commit
that referenced
this issue
Mar 15, 2016
tomhrr
added a commit
that referenced
this issue
Mar 19, 2016
tomhrr
added a commit
that referenced
this issue
Mar 19, 2016
tomhrr
added a commit
that referenced
this issue
Mar 19, 2016
tomhrr
added a commit
that referenced
this issue
Mar 19, 2016
tomhrr
added a commit
that referenced
this issue
Mar 19, 2016
tomhrr
added a commit
that referenced
this issue
Mar 22, 2016
tomhrr
added a commit
that referenced
this issue
Mar 23, 2016
tomhrr
added a commit
that referenced
this issue
Mar 23, 2016
tomhrr
added a commit
that referenced
this issue
Mar 24, 2016
tomhrr
added a commit
that referenced
this issue
Mar 24, 2016
tomhrr
added a commit
that referenced
this issue
Mar 24, 2016
tomhrr
added a commit
that referenced
this issue
Mar 24, 2016
tomhrr
added a commit
that referenced
this issue
Mar 25, 2016
tomhrr
added a commit
that referenced
this issue
Mar 25, 2016
tomhrr
added a commit
that referenced
this issue
Mar 26, 2016
tomhrr
added a commit
that referenced
this issue
Mar 27, 2016
tomhrr
added a commit
that referenced
this issue
Mar 27, 2016
tomhrr
added a commit
that referenced
this issue
Mar 30, 2016
tomhrr
added a commit
that referenced
this issue
Mar 31, 2016
tomhrr
added a commit
that referenced
this issue
Mar 31, 2016
tomhrr
added a commit
that referenced
this issue
Apr 3, 2016
tomhrr
added a commit
that referenced
this issue
Apr 5, 2016
tomhrr
added a commit
that referenced
this issue
Apr 18, 2016
tomhrr
added a commit
that referenced
this issue
Apr 18, 2016
tomhrr
added a commit
that referenced
this issue
Apr 19, 2016
tomhrr
added a commit
that referenced
this issue
Apr 20, 2016
tomhrr
added a commit
that referenced
this issue
Apr 20, 2016
tomhrr
added a commit
that referenced
this issue
Apr 20, 2016
tomhrr
added a commit
that referenced
this issue
Apr 20, 2016
tomhrr
added a commit
that referenced
this issue
Apr 22, 2016
Done, except that retvals have been left alone, since there's no compelling reason to change them. This work helped to tidy up the internals around copying quite a bit, too, so thanks for the suggestion. |
That's cool that you implemented it. I will probably give it a spin soon! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was just thinking about how it could be useful to have rvalue overloading and move semantics in this language so that unique_ptr from C++ could be implemented. I know that there's shared-ptr in this language but reference counting has some undesirable overhead at times :)
The text was updated successfully, but these errors were encountered: