Turning fixed sized array into tuple

Dmitry Olshansky dmitry.olsh at gmail.com
Sat May 4 16:58:00 UTC 2024


So I have a function:

```d
size_t awaitAny(T...)(T args) { ... }
```

And I have:
``d
Event*[4] events;
``

How do I pass all 4 of events to awaitAny as tuple of arguments?

--
Dmitry Olshansky
CEO @ [Glow labs](https://glow-labs.pro)
https://olshansky.me/about/



More information about the Digitalmars-d-learn mailing list