basic types and alias

Walter Bright newshound2 at
Tue Feb 14 00:54:48 PST 2012

On 2/12/2012 12:59 PM, Timon Gehr wrote:
> The only workaround is to use template T(I...) if(I.length==1){}. Why does it
> make sense to treat alias parameters differently from alias declarations and
> tuple members? Why does it make sense to treat built-in types differently from
> user-defined types in this case?

They really aren't the same thing, although alias declarations try to conflate 
the two, causing ugly hacks.

More information about the Digitalmars-d mailing list