Thread overview
How spand array for use with functions arguments like tuple?
Jul 19, 2020
Marcone
Jul 20, 2020
Marcone
Jul 20, 2020
Paul Backus
July 19, 2020
How spand array for use with functions arguments like tuple?
July 20, 2020
On Sunday, 19 July 2020 at 23:05:45 UTC, Marcone wrote:
> How spand array for use with functions arguments like tuple?

expand*
July 20, 2020
On Monday, 20 July 2020 at 17:59:06 UTC, Marcone wrote:
> On Sunday, 19 July 2020 at 23:05:45 UTC, Marcone wrote:
>> How spand array for use with functions arguments like tuple?
>
> expand*

If the array is a compile-time constant, you can use aliasSeqOf [1]. Otherwise, you can't.

[1] http://dpldocs.info/experimental-docs/std.meta.aliasSeqOf.html