digitalmars.D.bugs - [Issue 2113] New: spec inconsistent with the current d1.0 behavior?
- d-bugmail puremagic.com (20/20) May 19 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2113
- d-bugmail puremagic.com (4/4) Jun 15 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2113
- d-bugmail puremagic.com (11/11) Jun 16 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2113
http://d.puremagic.com/issues/show_bug.cgi?id=2113 Summary: spec inconsistent with the current d1.0 behavior? Product: D Version: 1.030 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: davidl 126.com http://www.digitalmars.com/d/1.0/operatoroverloading.html The assignment operator = can be overloaded if the lvalue is a struct or class aggregate for a struct you can't have opAssign overload seems I always get the following error message: function testopassign.a.opAssign identity assignment operator overload is illegal --
May 19 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2113 Can you give an example of the code that gives you that error message? --
Jun 15 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2113 davidl 126.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID umm, i tried to overload rvalue which can be implicitly converted to the lvalue. So it's an invalid bug actually. --
Jun 16 2008