I dun a DIP, possibly the best DIP ever

Steven Schveighoffer schveiguy at gmail.com
Thu Apr 23 20:47:53 UTC 2020


On 4/23/20 4:34 PM, Stefan Koch wrote:
> On Thursday, 23 April 2020 at 20:23:03 UTC, Steven Schveighoffer wrote:
>> On 4/23/20 4:08 PM, Stefan Koch wrote:
>>> On Thursday, 23 April 2020 at 19:27:31 UTC, Steven Schveighoffer wrote:
>> You have lost me.
>>
>> Can you go through a blow-by-blow of how this nested expansion happens?
>>
>> alias tuple1 = AliasSeq!(1, 2, 3);
>> alias tuple2 = AliasSeq!(4, 5, 6)
>>
>> AliasSeq!(tuple1..., tuple2)...
>>
> 
> This nested expression does not parse.
> And I don't think it should.
> Because we cannot nest tuples in tuples.

OK, so the answer is, you can only have one ... per expression?

-Steve


More information about the Digitalmars-d mailing list