[Issue 2113] New: spec inconsistent with the current d1.0 behavior?
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon May 19 18:35:20 PDT 2008
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 at digitalmars.com
ReportedBy: davidl at 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
--
More information about the Digitalmars-d-bugs
mailing list