DIP 1040

Timon Gehr timon.gehr at gmx.ch
Wed Jul 17 18:26:28 UTC 2024


On 7/16/24 16:41, Quirin Schroll wrote:
> On Sunday, 14 July 2024 at 10:51:36 UTC, Timon Gehr wrote:
>> Of course, even more can be done to make move semantics an even better 
>> experience in D, but DIP1040 is a good basis. For example, I would 
>> want: […]
>>
>> - a parameter storage class that enforces the parameter was moved.
> 
> https://forum.dlang.org/post/yiwpmuhgpasanzakzbdd@forum.dlang.org
> 
> Something like this?

Yes, for example. (I think an obvious keyword for this would be `in`, 
but that is used in different ways now.)


More information about the Digitalmars-d mailing list