Commit graph

102 commits

Author SHA1 Message Date
sigod
b847c5a194 Fix Issue 15659 - fix crash in SList.clear() 2016-02-08 23:22:31 +03:00
Benjamin L. Merritt
5f08c058ab Changed "Examples:" in Ddoc to "Example:" 2015-12-17 18:32:41 -08:00
H. S. Teoh
64f43ce42c Merge pull request #3854 from 9rnsr/enforceProp
fix property enforcement
2015-12-15 09:37:12 -08:00
Brian Schott
c82f47cb8d Merge pull request #3868 from JakobOvrum/container_docs_take
s/takeOne/take/ in std.container package documentation
2015-12-09 17:18:14 -08:00
Jakob Øvrum
85edbe9ffb s/takeOne/take/ in std.container package documentation
takeOne returns a special type for ranges without slicing, so it just
happened to work with Array, but it doesn't work with say, linked lists.
2015-12-10 08:50:08 +09:00
Jakob Øvrum
a2117fafd5 Some std.container documentation fixes and improvements 2015-12-08 04:20:12 +09:00
k-hara
e864e53adc fix property enforcement 2015-12-04 15:42:53 +09:00
Jonathan M Davis
d34164a2ea Move some deprecations along. 2015-11-26 00:28:38 -08:00
Ryan Roden-Corrent
05fd49ed88 Fix DList.insertFront(range) regression - #15263.
As createNode was taking a value by ref, Dlist.insertFront could not be
called with a range with a non-ref front.

Fix by taking the value as `auto ref` instead of just `ref`.
Resolves #15263.
2015-10-31 08:25:03 -04:00
Dragos Carp
d698887729 Remove obsolete TypeTuple references
Replace following names:
std.typetuple      -> std.meta
TypeTuple          -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple     -> Fields

std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
Vladimir Panteleev
52d6930daf Use canonical links to forum.dlang.org
http://forum.dlang.org/help#canonical
2015-10-07 10:55:51 +00:00
Martin Nowak
18c5b270e0 Merge remote-tracking branch 'upstream/stable' into merge_stable
Conflicts:
	std/internal/cstring.d
	win64.mak
2015-09-07 00:44:29 +02:00
Steven Schveighoffer
1272c1a494 Merge pull request #3572 from JackStouffer/issue5945
Fix Issue 5945: redBlackTree printing
2015-09-03 09:09:34 -04:00
Jack Stouffer
0f05183f5c implemented issue 5945 2015-09-03 08:43:06 -04:00
H. S. Teoh
72aa622dc4 Leading rows in Container Primitives table should span all columns.
Depends on: https://github.com/D-Programming-Language/dlang.org/pull/1071
2015-08-20 14:58:32 -07:00
tobias
0c28c77174 fix issue 14920 2015-08-15 11:53:57 +02:00
Steven Schveighoffer
de76ea04be Merge pull request #3501 from Groterik/const_rbtree
Const opSlice, upperBound, lowerBound and equalRange for rbtree
2015-08-13 10:22:30 -04:00
Maksim Klimov
a29552563d Constness of opSlice, upperBound, lowerBound and equalRange 2015-08-09 14:41:48 -07:00
Robert burner Schadek
8f937b10f5 std.container.array remove workaround
there was a bug workaround that works know

moretesting
2015-07-16 09:40:45 +02:00
Xinok
08f0b242d5 Fix for instantiating BinaryHeap!(Array!int)) 2015-07-08 15:10:11 -05:00
Xinok
d52fb87ce7 Remove trailing space... 2015-07-08 11:23:59 -05:00
Xinok
b97a6c2e7e Migrate some heap operations to std.algorithm 2015-07-08 11:18:01 -05:00
Xinok
cc77356a9d Fix Issue 12966 - Optimization for BinaryHeap 2015-07-07 15:08:11 -05:00
anonymous
b28962635f fix package XREFs
Also add escaping underscores in some places, and rewrap to 80 columns
where touching anyway.
2015-06-15 22:30:41 +02:00
Brian Schott
3f82c9711d Document the return value of stableInsert 2015-05-20 03:00:59 -07:00
Walter Bright
d9a9826e55 Revert "Introducing std.meta package" 2015-05-06 14:36:45 -07:00
Dicebot
7970fcc748 Don't use fqn for any/all
In most cases it resolves unambiguosly
2015-05-05 22:22:11 +03:00
Dicebot
1c9ae027ef Rename old std.typetuple symbols inside Phobos
staticIndexOf -> indexOf
allSatisfy -> all
anySatisfy -> any
staticMap -> Map
2015-05-05 22:22:11 +03:00
Dicebot
82f54a38d3 TypeTuple -> MetaList inside Phobos 2015-05-05 22:22:11 +03:00
Dicebot
73f773838d import std.typetuple -> import std.meta 2015-05-05 22:22:10 +03:00
anonymous
e837b2ad94 inout leftmost, rightmost, next, and prev 2015-04-23 23:23:45 +02:00
anonymous
2065983d03 const RedBlackTree.opBinaryRight
Fixes Issue 12702.
2015-04-23 22:36:57 +02:00
Exi
d0592e9ccb removed unnecessary ref eq check 2015-04-20 09:26:34 -07:00
Kevin
504847cddf updated doc, added reference equality check in opEquals 2015-04-18 16:01:10 -07:00
rsw0x
3c78fe388c Mark RBTree.length as const
add unit tests for constness
2015-04-01 10:16:30 -04:00
Martin Nowak
a4f1cb07d2 fix Issue 14300 - DList casting to base type is broken
- All insert methods should take `auto ref T t`
  instead of `Stuff t`, because the latter is
  an unnecessary temporary if `Stuff` isn't `T`.

- Small, copyable, register sized Ts should always be
  passed by-value instead of auto ref.
2015-03-20 03:09:47 +01:00
Andrei Alexandrescu
11b32b56e5 Fix links 2015-02-16 13:39:18 -08:00
Jakob Ovrum
5e0ce3747d Fix #13872
std.container.make!(Array!T) now returns a reference
to an actual container, not a 'null reference' that
initializes itself upon use.
2015-01-30 22:49:10 +01:00
Steven Schveighoffer
381c62e6ff Allow lambda that isn't string when unittest is enabled. 2015-01-30 10:31:52 -05:00
Steven Schveighoffer
acac626608 Fix issue 14082 -- unit test should only test known cases in red black tree. 2015-01-30 10:10:44 -05:00
JakobOvrum
224238a854 Merge pull request #2631 from nordlow/inout-array-range
Fix constness of array.d
2015-01-29 15:38:53 +09:00
Per Nordlöw
14d928e02e Fix constness of std.container.Array 2015-01-28 23:14:02 +01:00
Jakob Ovrum
6ab785520c Add example code for using ranges with containers 2015-01-28 23:50:35 +09:00
Jakob Ovrum
be57a6b7b1 Add example of using make with inferred element type 2015-01-28 23:34:08 +09:00
Jakob Ovrum
f30d6806dc Supplement to #2866
Removed use of personal pronouns
Fixed some broken DDoc syntax
Fixed/changed some English grammar
2015-01-28 23:27:23 +09:00
Marc Schütz
27071a6c7f Add forgotten D to macro 2015-01-25 21:53:30 +01:00
k-hara
a6f330c030 Use debug instead of version 2015-01-25 20:21:45 +09:00
Ferdinand Majerech
33261628ea Mentioning that a container is not a range. 2015-01-24 17:08:33 +01:00
Tobias Pankrath
822b765593 Improve docs in std/container/package.d 2015-01-11 19:53:21 +01:00
Tobias Pankrath
22f974d19f Explain memory management a bit more 2015-01-11 18:15:48 +01:00