On Friday, 15 July 2016 at 23:07:20 UTC, Andrey wrote:
Hi guys!
Can any one tell me - how to pass an array of int's in to the
template struct at compile-time, and how to use int there?
Like this: https://dpaste.dzfl.pl/844057da81e9 ?
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