Bug 13933 – templatize object.opEquals

Status
NEW
Severity
enhancement
Priority
P4
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-01-04T14:59:57Z
Last change time
2024-12-07T13:34:34Z
Assigned to
No Owner
Creator
ag0aep6g
Depends on
12537
Moved to GitHub: dmd#17137 →

Comments

Comment #0 by ag0aep6g — 2015-01-04T14:59:57Z
(as requested [1]) Currently object.opEquals is declared as bool opEquals(Object lhs, Object rhs); Templatizing that like bool opEquals(L, R)(L lhs, R rhs); could avoid virtual calls when possible. [1] http://forum.dlang.org/post/[email protected]
Comment #1 by issues.dlang — 2015-01-05T00:39:24Z
This PR would have done it already: https://github.com/D-Programming-Language/druntime/pull/459 but bug# 12537 currently prevents it.
Comment #2 by ttanjo — 2020-03-03T16:19:58Z
What is the current status of this issue? #12357 is already fixed and there seem to be no blockers for it.
Comment #3 by robert.schadek — 2024-12-07T13:34:34Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17137 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB