Thread overview | |||||
---|---|---|---|---|---|
|
July 19, 2020 How spand array for use with functions arguments like tuple? | ||||
---|---|---|---|---|
| ||||
How spand array for use with functions arguments like tuple? |
July 20, 2020 Re: How spand array for use with functions arguments like tuple? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Marcone | 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 Re: How spand array for use with functions arguments like tuple? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Marcone | 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 |
Copyright © 1999-2021 by the D Language Foundation