DIP 1022---foreach auto ref---Final Review
Jonathan Marler
johnnymarler at gmail.com
Thu Dec 5 08:47:40 UTC 2019
On Sunday, 1 December 2019 at 10:31:56 UTC, Walter Bright wrote:
> We are working on a comprehensive solution to the copy, move,
> and forward problem with function parameters. This naturally
> leads into under what conditions are the foreach ranges copied,
> moved, or forwarded to the foreach variable?
>
> [...]
I think the language would actually be alot simpler if there was
no "ref". But I think that ship sailed a long time ago...
More information about the Digitalmars-d
mailing list