On Friday, 12 June 2015 at 19:39:25 UTC, Stewart Gordon wrote:
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.

Yes, you could say that. It is implemented in this manner.

Reply via email to