ADL

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 3 13:43:09 PDT 2016


On 9/3/2016 8:34 AM, Manu via Digitalmars-d wrote:
> And if either module doesn't have an instance of func?

static if (traits(compiles, ModuleOf!T.func))
     alias func = ModuleOf!T.func;


More information about the Digitalmars-d mailing list