Making alias of a struct field needs "this".

realhet real_het at hotmail.com
Tue Jun 2 14:51:38 UTC 2020


On Tuesday, 2 June 2020 at 13:10:55 UTC, Paul Backus wrote:
> On Tuesday, 2 June 2020 at 09:28:01 UTC, realhet wrote:
>     mixin("@property auto ", k, "() const { return ", v, "; }");

Wow, string mixin can process comma separated list, I gotta 
remember this, thanks!




More information about the Digitalmars-d-learn mailing list