Don't get me wrong, I also hope that this unfortunate and lengthy discussion ends. And I also like the idea that const ref works as in C++. But I'm sure you can convince neither Walter nor Andrei still the core developer team.

And I don't quite understand what speaks against my suggestion.
If the compiler decides that by value is a better solution, then structs are received by value, otherwise by ref. But the user don't need to worry about it, because, whatever the compiler may decide to do, he adapt calls to these functions automatically. It is in principle nothing more than what you want.

Reply via email to