[Issue 4903] opopAssignRight is needed for operator overloading

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 31 05:58:42 PDT 2010


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


Witold Baryluk <baryluk at smp.if.uj.edu.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |baryluk at smp.if.uj.edu.pl


--- Comment #1 from Witold Baryluk <baryluk at smp.if.uj.edu.pl> 2010-10-31 05:57:50 PDT ---
I would also like this feature.

One of the reason this is not supported, is that in fact

int x = 14;
BigInt y = 3;
x = x/y;

is, actually x = cast(int)(x/y);

And there is no way to change type in opAssign (old opXXXAssign).

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