Commit graph

52 commits

Author SHA1 Message Date
MathewColin
eb461f8e9d
Better document the use of Heaps with Dynamic Array as Store (#8677)
Better document the use of Heaps with Dynamic Array as Store

Signed-off-by: Dennis <dkorpel@users.noreply.github.com>
Merged-on-behalf-of: Dennis <dkorpel@users.noreply.github.com>
2023-02-09 13:55:44 +01:00
Per Nordlöw
ee64840397 Replace enforce(!empty with assert(!empty at the beginning of range members 2022-10-10 09:08:23 +02:00
Ate Eskola
490caa7090 RefCounted -> SafeRefCounted, OldRefCounted -> RefCounted. 2022-09-11 01:35:35 +03:00
Ate Eskola
bb145a09a6 Ate's work on safe ref counted 2022-09-11 01:35:35 +03:00
Geod24
04f3979317 Replace 'Issue XXX' with Bugzilla links
Make the links clickable, as was done in the DMD repository.
Also avoids any ambiguity w.r.t. where the issue is stored.
2020-04-13 16:28:09 +09:00
Robert Schadek
a0f381c514 adding assert messages to std.container.binary_heap 2020-01-27 14:10:32 +00:00
tibi77
7ae2e67a47 Remove redundant body of @disable functions. Issue 14854 DMD (#6893)
Remove redundant body of @disable functions. Issue 14854 DMD
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2019-03-06 02:00:04 +01:00
Sebastian Wilzbach
c324714fde Remove a few cases of underscore escaping 2018-06-04 13:05:01 +02:00
Sebastian Wilzbach
42894784dd Markdownify Phobos
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
Sebastian Wilzbach
61717ecc7d Sort imports 2017-06-12 07:54:38 +02:00
Steven Schveighoffer
cded892eba Fix style 2017-04-11 15:39:52 -04:00
kirsybuu
2245025f6b Only grow if full 2017-04-11 11:31:55 -04:00
Michael Coulombe
ef9f4b9fee fix issue 17314 2017-04-09 11:55:26 -04:00
Michael Coulombe
0912b24302 fix issue 17314 2017-04-09 09:22:37 -04:00
Jack Stouffer
e554764c01 Merge pull request #5216 from wilzbach/unluckily-phobos
Replace LUCKY links with actual links
2017-03-01 15:17:19 -05:00
Sebastian Wilzbach
3817d6f37d Check public functions for public examples (#4998)
Check public functions for public examples
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-03-01 15:49:15 +01:00
Sebastian Wilzbach
d548e8830a Replace LUCKY links with actual links 2017-02-28 23:46:54 +01:00
Andrei Alexandrescu
30724e67d9 Merge pull request #5166 from wilzbach/dscanner-unittest-safe-or-system
Dscanner: let unittest be @safe or @system
2017-02-22 14:44:08 -05:00
Sebastian Wilzbach
a36cec8686 DScanner: automatially set all unattributed unittests to @safe or @system 2017-02-22 05:42:04 +01:00
Sebastian Wilzbach
425ab667a3 Automatically set the range style from a..b -> a .. b
Commands:

sed -E "s/([[:alnum:]])[.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]])[.][.] ([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) [.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
2017-02-22 05:37:31 +01:00
somzzz
682536d586 fix issue 155421 2016-12-08 13:43:56 -08:00
somzzz
b339da57ed unittest for dup present and missing in Store 2016-12-06 17:00:41 -08:00
somzzz
4c708c7566 comment 2016-12-06 10:17:46 -08:00
somzzz
c3714ea01e unittest 2016-12-06 02:04:57 -08:00
somzzz
192b47aadb allow BinaryHeap.dup only on Store.dup present 2016-12-02 12:37:42 -08:00
somzzz
fba056a8df fix issue 13314 2016-12-02 04:40:14 -08:00
Andrei Alexandrescu
6ca3017b91 Merge pull request #4359 from wilzbach/fix_16072
fix issue 16072 - container.binaryheap should be extendable for arrays
2016-09-16 12:43:49 -04:00
Steven Schveighoffer
75627ddb6b I'm not the author of most of these, just RBTree. 2016-09-13 09:25:16 -04:00
Jack Stouffer
50476873b0 Removed package wide std.algorithm imports from std.container.array/binaryheap 2016-07-07 09:46:02 -04:00
Sebastian Wilzbach
71f01c961d fix issue 16072 - container.binaryheap should be extendable for arrays 2016-06-19 18:05:01 +02:00
Sebastian Wilzbach
ec47ac4224 Remove the WEB macro in favor of HTTP
replacement: sed 's/\$(WEB/\$(HTTP/g' -i **/*.d
2016-06-16 00:14:51 +02:00
Robert Schadek
1e640852a9 Merge pull request #4331 from wilzbach/example_binaryheap
add top-level example for binary heap
2016-06-02 00:11:54 +02:00
Sebastian Wilzbach
357e02a4a9 remove unused TEXTWITHCOMMAS macro 2016-05-27 05:52:27 +02:00
Sebastian Wilzbach
18b8abf60a remove the deprecated wiki macros 2016-05-27 05:52:23 +02:00
Sebastian Wilzbach
5f7a4ca7c5 add top-level example for binary heap 2016-05-25 16:02:48 +02:00
Sebastian Wilzbach
89a2dd5f11 use mref macro instead of link2 2016-05-16 03:30:08 +03:00
Sebastian Wilzbach
3d67cd228c style fix: space between operators 2016-04-26 22:26:20 +03:00
Ilya Yaroshenko
ddf8268d42 UFCS for moveAt, moveFront, moveBack 2016-04-09 09:28:14 +02:00
Sebastian Wilzbach
b05f4afe1c change usage of swapAt to UFCS 2016-04-08 01:18:45 +03:00
Sebastian Wilzbach
44cc4ffc89 hotlink common collection keywords for user search 2016-02-24 18:39:42 +02:00
Dragos Carp
b1537b3cb0 Issue 15675 - BinaryHeap!(Array!T) is built wrong 2016-02-15 11:12:16 +01: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
Andrei Alexandrescu
11b32b56e5 Fix links 2015-02-16 13:39:18 -08:00
Mike Parker
956e5abfc9 Fix broken documentation links in all std.container modules. 2015-01-07 23:01:51 +09:00
H. S. Teoh
72f03b0ce6 Boilerplate docs for std.container.*.
Improve std.container.* documentation.
2014-12-06 09:40:31 -08:00
Ilya Yaroshenko
2c744b54e1 std.range: constraints => primitives
See discussion and voting in #2661
2014-11-23 20:05:20 +03:00
Ilya Yaroshenko
0b948a6529 Use scope imports in std.container package
part2

part3
2014-11-15 01:19:18 +03:00