DIP 1011 library alternative

Jonathan M Davis newsgroup.d at jmdavisprog.com
Tue May 15 22:26:54 UTC 2018


On Tuesday, May 15, 2018 17:25:05 Andrei Alexandrescu via Digitalmars-d 
wrote:
> * Pass-by-alias and overloading interact poorly. Does anyone know how to
> refer by alias to one specific overload?

AFAIK, the only way that something like that could be done would be to use
__traits(getOverloads, ...) to get at the correct overload, which is a bit
of a pain, and I _think_ that it only works if the function isn't templated.

- Jonathan M Davis



More information about the Digitalmars-d mailing list