Problem about lambda expressions

dennis luehring dl.soluz at gmx.net
Tue Mar 27 07:12:50 PDT 2012


Am 27.03.2012 15:52, schrieb Tongzhou Li:
> Oh, I also tried:
>       void seq_apply(Params..., Args...)(void delegate(Params)
> func, Args args)
> But I got a error:
>       variadic template parameter must be last
> Does it mean that there can only be one variadic template
> parameter? How to fix it?
> Thanks

just a question:

how on earth should the compiler seperate your 2 variadic parameters???

t( a,b,c,x,y,z ) -> where Params Start/End, where Args???? magic?


More information about the Digitalmars-d-learn mailing list