ADL

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 3 17:36:22 PDT 2016


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.


More information about the Digitalmars-d mailing list