Example: https://dpaste.dzfl.pl/28a0057dbffd
Iterate through getOverloads trait
Max Klimov via Digitalmars-d-learn Fri, 15 Jul 2016 16:02:51 -0700
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.
- Iterate through getOverloads trait Max Klimov via Digitalmars-d-learn
- Re: Iterate through getOverloads... Ali Çehreli via Digitalmars-d-learn