[Issue 3188] remove opIndexAssign from the language

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 27 08:20:14 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3188





--- Comment #10 from Steven Schveighoffer <schveiguy at yahoo.com>  2009-07-27 08:20:13 PDT ---
(In reply to comment #7)
> opMulAssign exists and return by ref was meant to solve an unrelated problem, I
> believe. It's not a replacement for assign operators.

You are confusing opMul with opStar.

opStarAssign would be for dereferencing.  For example:

*ptr = 5;

And currently it's not necessary, since the return value from opStar is a
reference.

-- 
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