I wonder if there's a way to add UDA to functions at compile-time (so I can read later from other parts of application).Andrea
What do you mean? UDAs are already specified at compile time. @("hello") void foo() { } static assert(__traits(getAttributes, foo)[0] == "hello");