https://issues.dlang.org/show_bug.cgi?id=1596
RazvanN changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=1596
Andrei Alexandrescu and...@erdani.com changed:
What|Removed |Added
Version|unspecified |D2
--
http://d.puremagic.com/issues/show_bug.cgi?id=1596
Stewart Gordon s...@iname.com changed:
What|Removed |Added
CC||s...@iname.com
---
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_
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=.
http://d.puremagic.com/issues/show_bug.cgi?id=1596
Jonathan M Davis jmdavisp...@gmx.com changed:
What|Removed |Added
CC|
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
http://d.puremagic.com/issues/show_bug.cgi?id=1596
Steven Schveighoffer schvei...@yahoo.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=1596
Don clugd...@yahoo.com.au changed:
What|Removed |Added
CC||clugd...@yahoo.com.au
---
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
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
http://d.puremagic.com/issues/show_bug.cgi?id=1596
yebblies yebbl...@gmail.com changed:
What|Removed |Added
CC||yebbl...@gmail.com
---
12 matches
Mail list logo