On 03.09.2016 13:24, Walter Bright wrote:
Something like:
void foo(T,U)(T t, U u)
{
alias func = ModuleOf!T.func;
alias func = ModuleOf!U.func;
func(t, u);
}
Does not work. Local overloads are not supported.
On 03.09.2016 13:24, Walter Bright wrote:
Something like:
void foo(T,U)(T t, U u)
{
alias func = ModuleOf!T.func;
alias func = ModuleOf!U.func;
func(t, u);
}
Does not work. Local overloads are not supported.