[Issue 1596] op*Assign should return void

2019-10-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1596 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 1596] op*Assign should return void

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1596 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Version|unspecified |D2 --

[Issue 1596] op*Assign should return void

2011-07-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1596 Stewart Gordon s...@iname.com changed: What|Removed |Added CC||s...@iname.com ---

[Issue 1596] op*Assign should return void

2011-07-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1596 --- Comment #10 from Jonathan M Davis jmdavisp...@gmx.com 2011-07-08 16:07:37 PDT --- - If it's typeof(this), the AssignExpression calls this op*Assign, sets the lvalue to what op*Assign returns and then returns it. That would be a _bad_

[Issue 1596] op*Assign should return void

2011-07-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1596 --- Comment #11 from Stewart Gordon s...@iname.com 2011-07-08 16:42:24 PDT --- I'm not sure you get the point. It's to give the class designer the choice between in-place modification and creating a new object as the implementation of op=.

[Issue 1596] op*Assign should return void

2011-07-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1596 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added CC|

[Issue 1596] op*Assign should return void

2011-07-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1596 --- Comment #4 from yebblies yebbl...@gmail.com 2011-07-05 17:09:50 EST --- (In reply to comment #3) It's valid in that Andrei seems to be requesting that op*Assign be _required_ to return ref typeof(this), whereas currently, you can make it

[Issue 1596] op*Assign should return void

2011-07-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1596 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added CC|

[Issue 1596] op*Assign should return void

2011-07-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1596 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||clugd...@yahoo.com.au ---

[Issue 1596] op*Assign should return void

2011-07-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1596 --- Comment #7 from Steven Schveighoffer schvei...@yahoo.com 2011-07-05 09:02:07 PDT --- (In reply to comment #6) (In reply to comment #5) D should not be forcing behavior on normal functions, which operators are. They are special in

[Issue 1596] op*Assign should return void

2011-07-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1596 --- Comment #8 from Don clugd...@yahoo.com.au 2011-07-05 13:22:33 PDT --- (In reply to comment #7) (In reply to comment #6) (In reply to comment #5) D should not be forcing behavior on normal functions, which operators are. They

[Issue 1596] op*Assign should return void

2011-07-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1596 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||yebbl...@gmail.com ---