Is "auto t=T();" not the same as "T t;"?
Ali Çehreli
acehreli at yahoo.com
Tue Oct 25 18:03:15 UTC 2022
On 10/25/22 11:01, Ali Çehreli wrote:
> static arrays don't have .ptr to point
> to any member.
Why do I say incorrect things like that? :) Of course static arrays have
.ptr as well but that always point to their own body of N elements. They
own their elements... I move away from the keyboard now... :)
> Static arrays are "just elements side by side."
I still like that description though.
Ali
More information about the Digitalmars-d-learn
mailing list