Parameter forwarding

Imperatorn johan_forsberg_86 at hotmail.com
Tue Oct 19 23:01:42 UTC 2021


On Saturday, 16 October 2021 at 19:39:14 UTC, Kostiantyn Tokar 
wrote:
> On Friday, 15 October 2021 at 17:22:52 UTC, Tejas wrote:
>> [...]
>
> Now I get it. If this DIP will be accepted, I just have to 
> provide move constructor/assignment for my types and forwarding 
> would work. It sounds really great. If so, there is no need to 
> rewrite half of Phobos to support forwarding. And it even 
> covers last use of a field of an aggregate! Hope it will be 
> accepted.
>
> Paul, Tejas, thank you for answers.

I think it's very likely 1040 will be accepted


More information about the Digitalmars-d-learn mailing list