Parameter pack expansion
Tomas
skrivantomas at seznam.cz
Thu May 30 21:36:06 UTC 2019
On Thursday, 30 May 2019 at 20:55:00 UTC, Q. Schroll wrote:
> If it would be implemented, you could place your parameter pack
> into a Tuple-like structure with an opDispatch that returns
> such a Tuple again, but the contents would be the member
> components "projection" to the member. It's doable[2], but the
> lack of indexing the pack is the main blocker.
>
> ...
>
> [1] https://github.com/dlang/DIPs/pull/155
> [2] https://run.dlang.io/is/tIxmQS
Thanks! Sounds interesting, but right now it is a bit over my
head. It will take me some time digest it.
More information about the Digitalmars-d-learn
mailing list