I hear that the D language has powerful metaprogramming features for executing functions at compile time. That sounds very exciting, but I find it difficult to think of practical examples of things that are hard to accomplish without them.
Can anyone give some examples of situations where D's metaprogramming features comes in very handy?