Bug 9015 – std.container.DList.opOpAssign missing return

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2012-11-12T20:27:00Z
Last change time
2014-04-07T07:37:07Z
Assigned to
nobody
Creator
bearophile_hugs

Comments

Comment #0 by bearophile_hugs — 2012-11-12T20:27:34Z
This is from std.container.DList, it returns nothing: DList opOpAssign(string op, Stuff)(Stuff rhs) if (op == "~" && isImplicitlyConvertible!(Stuff, T)) { if (_last) _last._next = rhs._first; if (rhs._first) rhs_.first._prev = _last; }
Comment #1 by monarchdodra — 2014-04-07T07:37:07Z