On 07/15/2016 03:58 PM, Max Klimov wrote:
> I'm wondering how I can use the output of __traits(getOverloads, a,
> "name").
Apparently, it produces a delegate of calling name() on 'a'.
> The example in the doc uses direct indexing (like
> __traits(getOverloads, a, "name")[0](param)) and it works.
I'm wondering how I can use the output of __traits(getOverloads,
a, "name"). The example in the doc uses direct indexing (like
__traits(getOverloads, a, "name")[0](param)) and it works. But
I'm struggling with iterating through the result or storing the
resulting tuple into a local var.
Exampl