On Tuesday, 6 November 2012 at 08:50:32 UTC, Walter Bright wrote:
To emphasize, the User Defined Attributes thing is completely a
compile time feature. However, a user defined runtime system
can be built on top of it.
It gives the best of both worlds.
Problem is that there's no way to do this without having the user
specify which modules it should work for, like:
import attributes;
import a, b, c;
static this() // This code cannot be automated.
{
initAttributes!a();
initAttributes!b();
initAttributes!c();
}