First Draft: ref For Variable Declarations
Walter Bright
newshound2 at digitalmars.com
Fri Apr 12 21:39:59 UTC 2024
On 4/12/2024 2:34 PM, Lance Bachmeier wrote:
>> Decades of successful use have clearly demonstrated the utility of this form
>> of restricted pointer.
>
> It would be useful to expand on this. It obviously hasn't been used for decades
> in D programs if you're proposing it as a new language feature. I don't remember
> ever using it in any language.
It's been used as ref function parameters and foreach ref parameters, as
mentioned in the DIP.
More information about the dip.development
mailing list