DIP1000: The return of 'Extend Return Scope Semantics'

zjh fqbqrr at 163.com
Tue May 25 13:01:50 UTC 2021


The meaning of function has limited the position of `return`,
So`void move(T)(return(target) T source, ref scope T target)`is 
enough.
`return(target)`can be added to any parameter.



More information about the Digitalmars-d mailing list