[Issue 4903] New: opopAssignRight is needed for operator overloading
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Sep 20 19:02:51 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4903
Summary: opopAssignRight is needed for operator overloading
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status: NEW
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: clugdbug at yahoo.com.au
--- Comment #0 from Don <clugdbug at yahoo.com.au> 2010-09-20 19:02:14 PDT ---
Cases where it is required are limited, but one example is BigInt.
int x = 14;
BigInt y = 3;
x = x / y; // OK.
x /= y; // No way to support this
Applies to /= and %=.
--
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