mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 14:40:30 +03:00
![]() ...element returns non-empty range. The main issue is that DList.Range is implemented in terms of "first and last" as opposed to "first and past last", which means you have to special-case empty ranges. The fix is to do the same thing as in `opSlice`, and to explicitly initialize a null Range when it is empty. |
||
---|---|---|
.. | ||
array.d | ||
binaryheap.d | ||
dlist.d | ||
package.d | ||
rbtree.d | ||
slist.d | ||
util.d |