What have you done with UDAs?

Jonas Drewsen via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 22 13:29:13 PDT 2015


On Monday, 22 June 2015 at 19:09:40 UTC, weaselcat wrote:
> I never seem to use them for anything, has anyone else done 
> anything interesting with them?

I use a few in the deadcode editor e.g.:

Function can be called by a menu entry:
@MenuItem("Edit/Copy")

Function can be called by a shortcut:
@Shortcut("<shift> + <f10>")

Function should run in a fiber when called:
@InFiber




More information about the Digitalmars-d mailing list