Wait, what? What is AliasSeq?

Meta via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 14 06:01:28 PDT 2015


On Tuesday, 14 July 2015 at 11:14:58 UTC, Jacob Carlborg wrote:
> On 2015-07-14 00:11, Jonathan M Davis wrote:
>
>> Um. Seriously? I don't see how that would result in anything 
>> but
>> ridicule. What's D do? It goes splat.
>
> Variadic arguments are sometimes called "splat" in some 
> languages, like Ruby. Or it's rather the operator, "*", that's 
> called the splat operator.

I think this is what we want. Varargs in Ruby auto-expand, so 
they behave in a very similar manner to D's template parameters. 
AliasSplat or TemplateSplat both seem like good options.


More information about the Digitalmars-d mailing list