Wow that looks really good. Can you use any String after the dot?
P.S. I don't use D
P.S. I don't use D
Flag!"async"
And then the possible values are Yes.async and No.async
This exploits D dispatch operator: http://dlang.org/operatoroverloading.html#dispatch which in general is great for implementing this sort of dynamic feature in a strongly statically typed language as D - everything is checked as compile time!PS: I don't use D.