Name: Anonymous 2012-01-26 14:07
enum action : string
{
x = "test",
y = "test2",
z = "test3"
}
foreach (a; __traits(allMembers, action))
{
if (input == a)
{
return mixin("action." ~ a);
}
}Why is /prog/ not using D? Why is *everyone* not using D?