alias parameters and basic types

Lodovico Giaretta via Digitalmars-d digitalmars-d at puremagic.com
Sat Jul 30 11:53:43 PDT 2016


Hi,

I know this has been discussed before (like, before I started 
using D on a daily basis and hanging around in the forums), but...

Is there a reason why alias parameters do not accept basic types? 
Will this be changed somewhere in the future, as many asked for 
it? It is very surprising the first time it doesn't work and you 
are forced to add overloads...

Thank you for your answers.

Some quick links:
https://issues.dlang.org/show_bug.cgi?id=1100
https://issues.dlang.org/show_bug.cgi?id=3116
https://issues.dlang.org/show_bug.cgi?id=4639
https://issues.dlang.org/show_bug.cgi?id=8491
https://issues.dlang.org/show_bug.cgi?id=9029


More information about the Digitalmars-d mailing list