Let's say I have a class or an interface with a function, and I want to pass that to a template to generate another function (in this case one that passes it to a scripting engine, and allows it to be called from there).
Maybe this will help you:
```d
template Bar(T)
{
void fun() {}
}
class Foo(T)
{
mixin Bar!T b;
alias fun = b.fun;
void test()
{
fun();
}
}
```
SDB@79
