Tuples, CTFE, and Sliding Template Arguments

Andrej Mitrovic andrej.mitrovich at gmail.com
Sat Jan 13 03:05:57 UTC 2024


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.

What happens here?

```D
void pluto(string s = "default", Args...)(Args args)
{
}

void main () {
     pluto("foo");
     pluto("foo", "bar");
}
```


More information about the Digitalmars-d mailing list