IFTI needs to be updated if you accept tuples

Sergey kornburn at yandex.ru
Mon May 27 18:17:28 UTC 2024


On Monday, 27 May 2024 at 17:17:41 UTC, Basile B. wrote:
> things like
>
> ```d
> void test(T,U,V)((T,U,V) tuv){}
> ```
>
> need to work with
>
> ```d
> test((0.1, 1, false)) //  T= double, U = int, V = bool
> ```
>
> just saying

You need to add expand currently 
https://dlang.org/library/std/typecons/tuple.expand.html
Because D doesn’t have real tuples.

But our hope with Timon


More information about the Digitalmars-d mailing list