There's a bunch of things in D that only work in function parameter lists and not local variables. This is one of them.
Re: forward tuple arg to local variable + dtor
Adam Ruppe via Digitalmars-d-learn Sat, 22 Jan 2022 06:25:49 -0800
You can't forward to a local variable. Local variables will be a
copy of the tuple. forward only actually works if sent *directly*
to another function call.
- forward tuple arg to local variab... vit via Digitalmars-d-learn
- Re: forward tuple arg to loc... Adam Ruppe via Digitalmars-d-learn
- Re: forward tuple arg to... vit via Digitalmars-d-learn
- Re: forward tuple ar... Ali Çehreli via Digitalmars-d-learn
- Re: forward tupl... vit via Digitalmars-d-learn
- Re: forward... Stanislav Blinov via Digitalmars-d-learn
- Re: for... vit via Digitalmars-d-learn
- Re: forward... Stanislav Blinov via Digitalmars-d-learn