Making alias of a struct field needs "this".

realhet real_het at hotmail.com
Wed Jun 3 10:11:59 UTC 2020


On Tuesday, 2 June 2020 at 20:38:40 UTC, Steven Schveighoffer 
wrote:
> On 6/2/20 10:51 AM, realhet wrote:
>> 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:

A month ago I discovered that mixinDeclarations can be used for 
types too:

mixin("int[", 2, "]") a = [5, 6];




More information about the Digitalmars-d-learn mailing list