`alias x = v.x;` not working in struct bodies?

Danilo codedan at aol.com
Sat Jan 20 21:00:43 UTC 2024


On Saturday, 20 January 2024 at 20:48:46 UTC, Basile B. wrote:
> Those actually would not be aliases but more _"parameter-less 
> expression macros"_.

Yeah, it is just intuitive to assume that `alias` can be used to
give an additional `alias name` to something and then access
the entity using the `alias name`.

It's just intuitive, nothing special i tried here. ;)

- https://www.merriam-webster.com/dictionary/alias


More information about the Digitalmars-d mailing list