There are two these different ways to pass functions as template arguments. Which is preferred?
---
void funcA(alias calle)()
{
    calle();
}

void funcB(T)(T calle)
{
    calle();
}

void main()
{
    funcA!(() => 0);
    funcB(() => 0);
}
---

Reply via email to