Move Constructor Syntax

Salih Dincer salihdb at hotmail.com
Wed Oct 16 07:52:23 UTC 2024


On Wednesday, 16 October 2024 at 00:43:39 UTC, Timon Gehr wrote:
>
> A benefit of `=this(ref S)` syntax or similar is that it 
> supports the design where the argument is not destructed 
> without additional language features to elide the destructor 
> call, and without a special case where destructor elision may 
> be unexpected given the syntax.


I didn't quite understand, what did you mean? If possible, in 
short sentences...:)

SDB at 79


More information about the Digitalmars-d mailing list