parameter type tuple or alias for std.traits templates ?

Jacob Carlborg doob at me.com
Sat Jun 23 03:52:05 PDT 2012


On 2012-06-23 01:05, Timon Gehr wrote:

> Yes there is, but I have argued that this is a bug in the past. With
> DMD, the (func...) accepts built-in types, while the (alias func) does
> not.

Would it be possible to overload? Something like this:

template Foo (T) {}

template Foo (alias a) {}

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list