Interfaces, traits, concepts, and my idea for a DIP
Sean Campbell via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jul 30 19:40:13 PDT 2015
On Tuesday, 28 July 2015 at 18:23:02 UTC, Tofu Ninja wrote:
> On Tuesday, 28 July 2015 at 13:23:37 UTC, Daniel Kozák wrote:
>> [...]
>
> I have actually thought about this as well, and a thing that
> could actually make this possible is if UDAs could get the
> thing they are attached to. I realized it could be done easily
> when I saw that this worked:
>
> [...]
+1
automatic UDA attachment is something I've wanted ever since i
started using D.
and their would be other uses for automatic UDA attachment than
for testing structs.
More information about the Digitalmars-d
mailing list