Wait, what? What is AliasSeq?
Jonathan M Davis via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jul 8 10:23:47 PDT 2015
On Wednesday, 8 July 2015 at 17:09:14 UTC, Dicebot wrote:
> On Wednesday, 8 July 2015 at 16:44:13 UTC, Jonathan M Davis
> wrote:
>> Naming it Arguments gives the impression that it's
>> specifically related to arguments, and that's just one small
>> area that it gets used in. And that's part of what's so hard
>> about naming it. It just does way too many things to name
>> easily.
>>
>> - Jonathan M Davis
>
> Not going to say if it is good or bad proposal, but your
> comment is not strictly relevant - template arguments are also
> arguments in D. It is exactly the term dlang.org grammar spec
> uses.
Yes, but TypeTuple isn't just used for template arguments - or
function arguments. In other circumstances, it's used for
parameters or even for stuff that has nothing to do with either -
e.g. in a foreach loop.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list