[SAoC] 'DPP with Linux kernel headers' Project Thread

Jacob Carlborg doob at me.com
Mon Nov 4 09:17:57 UTC 2019

On Sunday, 3 November 2019 at 16:37:36 UTC, Cristian Becerescu 

> When encountering anonymous structs or unions, dpp gives them a 
> name. And this forces dpp to declare a member of that 
> 'now-named-anon' record type and also provide accessors for the 
> 'now-named-anon' record (because unnamed records also 
> implicitly declare a member of their type).

But the question is why is DPP generating named unions/structs 
when D supports anonymous ones?

/Jacob Carlborg

More information about the Digitalmars-d mailing list