Tuples, CTFE, and Sliding Template Arguments

Steven Schveighoffer schveiguy at gmail.com
Sat Jan 13 04:16:49 UTC 2024


On Saturday, 13 January 2024 at 03:05:57 UTC, Andrej Mitrovic 
wrote:
> What happens here?
>
> ```D
> void pluto(string s = "default", Args...)(Args args)
> {
> }
>
> void main () {
>     pluto("foo");
>     pluto("foo", "bar");
> }
> ```

 From original post:

> 3. the value parameters do not have default values

-Steve


More information about the Digitalmars-d mailing list