Logical location of template instantiations

Basile B. via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 1 10:53:50 PDT 2016


On Monday, 27 June 2016 at 16:25:27 UTC, Lodovico Giaretta wrote:
> [...]
>
> This is not the first time I run into this limitation (not only 
> with functions, but also with structs), so I wonder: wouldn't 
> it be worth a way to get this behaviour?

Yes it would be worth. Several ppl have already hit this wall, 
including me. You can vote for this enhancement, it proposes to 
give a "super visual acuity" to traits such as getMember or 
getOverloads:

https://issues.dlang.org/show_bug.cgi?id=15371

You might also look at `hasUDA` from std.traits because it used 
to be affected by this issue.


More information about the Digitalmars-d mailing list