Confirm: D escapes auto ref similar to Go language

Brother Bill brotherbill at mail.com
Sun Aug 24 18:17:11 UTC 2025


On Sunday, 24 August 2025 at 17:30:33 UTC, Ali Çehreli wrote:
> In this case, you used the body of a 'ref' function but 
> compiled it as 'auto ref'. Please remove 'auto' above.
>
> Ali

The book has 'auto ref' in "auto ref functions" section.
Does your book need a change?
I'm not sure why we should remove 'auto' as you suggest.

It would be helpful if you would provide a short toy program that 
has the changes you seek.



More information about the Digitalmars-d-learn mailing list