Tuples, CTFE, and Sliding Template Arguments

Steven Schveighoffer schveiguy at gmail.com
Mon Jan 15 15:42:54 UTC 2024


On Monday, 15 January 2024 at 14:55:22 UTC, Timon Gehr wrote:
> On 1/15/24 11:39, Dukc wrote:
>> On Friday, 12 January 2024 at 22:35:54 UTC, Walter Bright 
>> wrote:
>>>
>>> Given the interest in CTFE of istrings, I have been thinking 
>>> about making a general use case out of it instead of one 
>>> specific to istrings.
>>>
>>>
>>> Sliding Template Arguments
>> 
>> There actually is a [DIP 
>> coming](https://github.com/dlang/DIPs/pull/232) that 
>> accomplishes the same thing as proposed here. It's waiting for 
>> Mike to open the DIP pipeline again.
>
> It's essentially a more detailed version of Steven's proposal, 
> with more use cases.

Let’s be clear, [my 
proposal](https://forum.dlang.org/post/ojotybtiosjikmmcxemw@forum.dlang.org) is a poor description of this DIP, which I swear I didn’t know existed!

Obviously this one has more thought and elegance put into it, I 
would support it!

-Steve



More information about the Digitalmars-d mailing list