What's the most horrifying thing you've done with templates?

I'm currently making a small state machine at compile time....