Template function limitations

Sean Kelly sean at f4.ca
Wed Sep 19 12:19:21 PDT 2007


Janice Caron wrote:
> On 9/19/07, Sean Kelly <sean at f4.ca> wrote:
>>      void fnB(T,U)( T!(U) val ) {}
> 
> Shouldn't that be
> void fnB(alias T,U)( T!(U) val ) {}
> ?
> 
> I could be wrong, but I thought "alias" was necessary if you want a
> template template parameter.

Perhaps, but I get the same error with and without "alias."


Sean



More information about the Digitalmars-d mailing list