Tuples, CTFE, and Sliding Template Arguments

Nick Treleaven nick at geany.org
Sat Jan 13 13:14:28 UTC 2024


On Friday, 12 January 2024 at 22:35:54 UTC, Walter Bright wrote:
> So, instead of issuing a compilation error, the compiler can 
> "slide" the arguments to the left, so the first argument is 
> moved into the compile time parameter list. Then, the call will 
> compile.

FeepingCreature proposed this instead, which seems to be more 
flexible and clearer:
https://forum.dlang.org/post/arzmecuotonnomsehrmk@forum.dlang.org


More information about the Digitalmars-d mailing list