Question about alias and getOverloads

Paul Backus snarwin at gmail.com
Tue Jan 28 20:23:12 UTC 2020


On Tuesday, 28 January 2020 at 19:59:15 UTC, uranuz wrote:
> So as far as I understand alias template parameter gives access 
> to all of items of overload set as I was expecting. The only 
> problem is that I didn't found something about it in 
> specification about templates:
> https://dlang.org/spec/template.html

It's documented under "Alias Declaration":

> Aliases can also import a set of overloaded functions, that can 
> be overloaded with functions in the current scope:

https://dlang.org/spec/declaration.html#alias


More information about the Digitalmars-d-learn mailing list