On Friday, 11 April 2014 at 14:31:47 UTC, Chris wrote: > Just of the top of my head, have you tried > > mixin template Link { > const string link() { > // ... > } > } > > or something like this? You can't use template mixins as statements, those are only for declarations.