Move Constructor Syntax
Salih Dincer
salihdb at hotmail.com
Wed Oct 16 08:21:10 UTC 2024
On Wednesday, 16 October 2024 at 07:52:23 UTC, Salih Dincer wrote:
> 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.
Destructor Elision! Yes, there is such a thing! Is it officially
available in D?
SDB at 79
More information about the Digitalmars-d
mailing list