Something I've learned while working with templates in D is, there is a very specific way to write them. Especially to work at compile time.I'm wondering if you were fighting the compiler because of this.
What specific way do you mean? I don't often get the feeling that I'm fighting the compiler (like I often do in C++), but it can be hard to say what's a compiler error and whats my own mistake.