However, with various combinations of templates, UDAs, and mixins it has not been easy.
Apart from -mixin, there's also the undocumented -vcg-ast switch that prints the AST before code generation, showing instantiated templates and unrolled static foreach loops.