Accessing part of a struct in an easy way

Paolo Invernizzi via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jul 3 12:07:11 PDT 2017


On Monday, 3 July 2017 at 17:30:51 UTC, Ali Çehreli wrote:
> hOn 07/03/2017 10:13 AM, Paolo Invernizzi wrote:
>
> > [...]
> struct with
> > [...]
>
> I had difficulty understanding the requirements. For example, 
> it's not clear whether you want the literal "first" and 
> "second" names.
>
> [...]

Thanks Ali,

I'm doing something similar, with inout ref in the b function: 
I'll stick with that.
Thanks again to all!

/Paolo


More information about the Digitalmars-d-learn mailing list