typedef behavior

Alex sascha.orlov at gmail.com
Mon Feb 12 09:58:13 UTC 2018


On Monday, 12 February 2018 at 09:37:56 UTC, Simen Kjærås wrote:
>
> Not really, since D doesn't have a concept of an address 
> associated with a type, only with instances of it. So when you 
> use a static array, the address is hard-coded.
>
> --
>   Simen

Ok... so the query on ptr on a static is not to be allowed? And 
the fact I can perform it is a bug?


More information about the Digitalmars-d-learn mailing list