Problem about lambda expressions

Tongzhou Li zhangsongcui at hotmail.com
Wed Mar 28 01:12:46 PDT 2012


On Tuesday, 27 March 2012 at 14:12:38 UTC, dennis luehring wrote:
> 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?

Well...
It's a question...


More information about the Digitalmars-d-learn mailing list