Hi,
Here is a template mixin:
> mixin template create(alias input, uint index, alias data)
> {
> if(input.length < index) return;
>
> // ... some code
> }
When I try to compile it, I get:
> Error: declaration expected, not if
Is it possible to mixin operator 'if' directly inside my template
mixin?