Commit graph

61 commits

Author SHA1 Message Date
monarchdodra
f51f8d457f Split DList Node into DNode and PayNode. 2014-09-20 15:43:41 +02:00
monarch dodra
d10fea94d5 Fix issue 13425 - DList.linearRemove on last...
...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.
2014-09-08 17:30:48 +02:00
Mikhail Novikov
e881d153ac Fix Issue 12913 - container: removeAny: fix docs (position of removed element must be unspecified) 2014-08-20 11:42:43 +03:00
H. S. Teoh
177ecea48d Merge pull request #2382 from sigod/dlist-unused-code
DList: remove opBinary(string)(DList)
2014-08-05 09:31:59 -07:00
Hackerpilot
c578bf13d5 Eliminate bad use of alias 2014-08-04 16:20:20 -07:00
Mikhail Novikov
55c1de4b92 DList: deprecate opOpAssign(string)(DList) 2014-08-05 00:28:37 +03:00
Mikhail Novikov
514133355a DList: remove opBinary(string)(DList) 2014-07-30 23:46:20 +03:00
k-hara
62e5095fa5 fix Issue 13076 - [dmd 2.066-b2] DList clearing of empty list 2014-07-09 23:35:29 +09:00
k-hara
fa8c4f3280 Add missing imports 2014-06-28 21:46:48 +09:00
Damian Day
82544bd272 Update to git head. 2014-06-06 10:32:04 +01:00
Damian Day
0634e408f7 New Container
Turn std.container into a package.

Delete container.d

Remove totalcontainer from package.
Create std.container.util.d and reference it from other containers.
Correct code coverage for containers.

Add containers for unit testing.

Make std.container.util public from any module.
Move around imports (avoid version(unittest)).

Remove irrelevant unittests.
2014-05-28 08:31:22 +01:00