[Issue 9218] [2.061] Correct signature of struct opCmp no longer accepts enum structs
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Dec 28 16:51:23 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9218
--- Comment #5 from Walter Bright <bugzilla at digitalmars.com> 2012-12-28 16:51:22 PST ---
Solving the rvalue reference problem, Issue 9238, is the correct way to resolve
this. Unfortunately, I think it would be too disruptive to add such a large
change with potential side effects in at the last minute, so I'd like to defer
this to the next version.
In the meantime, you can workaround by providing an overload:
int opCmp(const A a) { return 1; }
--
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