So I have a function:
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://olshansky.me/about/
Thread overview | |||||
---|---|---|---|---|---|
|
May 04 Turning fixed sized array into tuple | ||||
---|---|---|---|---|
| ||||
So I have a function:
And I have: How do I pass all 4 of events to awaitAny as tuple of arguments? -- |
May 04 Re: Turning fixed sized array into tuple | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dmitry Olshansky | On Saturday, 4 May 2024 at 16:58:00 UTC, Dmitry Olshansky wrote: >So I have a function:
And I have: How do I pass all 4 of events to awaitAny as tuple of arguments? Use |
May 04 Re: Turning fixed sized array into tuple | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Treleaven | On Saturday, 4 May 2024 at 19:11:14 UTC, Nick Treleaven wrote: >On Saturday, 4 May 2024 at 16:58:00 UTC, Dmitry Olshansky wrote: >So I have a function:
And I have: How do I pass all 4 of events to awaitAny as tuple of arguments? Use Thanks, totally missed it! — |