[Issue 2657] Remove opPostInc, opPostDec
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jun 1 08:49:09 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=2657
--- Comment #6 from Don <clugdbug at yahoo.com.au> 2010-06-01 08:49:06 PDT ---
(In reply to comment #5)
> Perfect. Is it a solution indistinguishable from that described in TDPL?
Yes. The solution in DMD and TDPL is more complete than I proposed.
I proposed to just make it illegal to use the return value. The solution we
have now creates a temporary copy to return. Bug 4231 remains; the solution to
that would be to not create the temporary if the return value isn't required.
As a side-effect, this will give us optimal performance <g>.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list