Concerns about using struct initializer in UDA?

Seb via Digitalmars-d digitalmars-d at puremagic.com
Fri May 12 03:25:07 PDT 2017


On Friday, 12 May 2017 at 10:13:02 UTC, Andre Pany wrote:
> Does it make sense to open a DIP? It would make UDA quite nice 
> to use if you can group several attributes into a struct.
>
> Or someone know whether there are already known issues why it 
> isn't possible?

The entire point of a DIP is to do this research for everyone and 
summarize it an easy-to-access and easy-to-find fashion ;-)
FWIW there is an abandoned DIP for in-place struct initialization 
(https://github.com/dlang/DIPs/pull/22) - it might make sense to 
invest the effort to revive it from the dead...



More information about the Digitalmars-d mailing list