DMD 0.177 release

Chris Miller chris at dprogramming.com
Sat Dec 9 11:02:43 PST 2006


On Sat, 09 Dec 2006 13:59:24 -0500, Walter Bright  
<newshound at digitalmars.com> wrote:

> Chris Miller wrote:
>> Allow static opAssign to return an instance of the class that will be  
>> assigned to the lvalue:
>
> This wasn't done because there are several use cases where you wouldn't  
> want to erase all previous contents of the struct being assigned to.

But if it's optional it's up to the struct writer to use void as the  
return or not.



More information about the Digitalmars-d-announce mailing list