Binding rvalues to ref parameters redux

Nicholas Wilson iamthewilsonator at hotmail.com
Wed Mar 27 03:53:46 UTC 2019


On Wednesday, 27 March 2019 at 01:38:40 UTC, Andrei Alexandrescu 
wrote:
> Work has been underway on redoing DIP 1016. I haven't made a 
> pull request yet as it's a bit early. Looking for high-level 
> observations:
>
> https://gist.github.com/andralex/e5405a5d773f07f73196c05f8339435a
>
> Thanks in advance for any feedback.

I'd factor out
```
struct Point {
   long x, y, z;
   ...
}
Point fun();
```
from the rationale. No need to repeat it.


More information about the Digitalmars-d mailing list