On Monday, 23 May 2022 at 08:53:27 UTC, user1234 wrote:
On Monday, 23 May 2022 at 08:52:12 UTC, vit wrote:On Monday, 23 May 2022 at 08:34:21 UTC, Chris Katko wrote:````D struct pair { float x,y; }[...]This work too: ```d myFunction(taco, p.tupleof, burrito); ```and you can pass a std.typecons.Tuple as well, it will expand x y
well actually std Tuple is a struct but that works without excplicit `.tupleof`.