On Friday, 11 April 2014 at 14:37:32 UTC, Dicebot wrote:
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.

Ah yes, I see. Was only off the top of my head.

Reply via email to