Is "auto t=T();" not the same as "T t;"?

Paul Backus snarwin at gmail.com
Tue Oct 25 20:36:39 UTC 2022


On Tuesday, 25 October 2022 at 20:27:18 UTC, Ali Çehreli wrote:
> On 10/25/22 13:12, Paul Backus wrote:
>
> > In order to create a copy of a static array
>
> Although .dup works for static arrays as well, you meant 
> "dynamic array" and everyones knows it. :)

Yes; thank you for the correction. :)


More information about the Digitalmars-d-learn mailing list