On 09/06/2015 13:14, Namespace wrote:
<snip>
What does this have to do with "garbage-collected language"?
If I have a big struct, e.g.
----
struct Matrix {
     float[16] values = [...];
}
----
I always want to pass it by ref because a move or a copy would be too slow.

That seems to me a matter more of having something that behaves like C++ const T&, than of rvalue references as such.

Stewart.

--
My email address is valid but not my primary mailbox and not checked regularly. Please keep replies on the 'group where everybody may benefit.

Reply via email to