H. S. Teoh
44264b30d0
Add Params:, Returns: to balancedParens.
2015-09-09 20:37:45 -07:00
Robert Schadek
7d1961a13d
Merge pull request #3630 from quickfur/setops_doc
...
[dox] Add Params, Returns, to std.algorithm.setops
2015-09-08 10:27:51 +02:00
Hara Kenji
bb7e5fb3cc
Merge pull request #3634 from MartinNowak/merge_stable
...
Merge remote-tracking branch 'upstream/stable' into merge_stable
2015-09-08 01:46:43 +09:00
H. S. Teoh
9534a996a7
Add Params: to completeSort().
...
Params: and Returns: for isSorted.
Params:, Returns:, for partition and isPartitioned.
Params: and Returns: for partition3.
Params: for makeIndex().
Add Params: and Returns: for various sorting functions.
Add Params: and Returns: to the topNxxx() functions.
Add Params:, Returns: to the nextPermutation functions.
2015-09-06 22:02:23 -07: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
H. S. Teoh
9c2643b31e
Add Params:, Returns:, for setUnion.
2015-09-04 23:12:08 -07:00
H. S. Teoh
a86d838cba
Add Params, Returns, See_also, to setSymmetricDifference.
2015-09-04 23:09:56 -07:00
H. S. Teoh
a7cafe1334
Add Params:, Returns: to setIntersection.
2015-09-04 23:08:01 -07:00
H. S. Teoh
a5f56f5716
Add Params:, Returns:, See_also: for setDifference.
2015-09-04 23:05:08 -07:00
H. S. Teoh
7f261f7eb8
Add Params: and Returns: for nWayUnion.
2015-09-04 23:02:00 -07:00
H. S. Teoh
6f0fbeb7d7
Add Params: for largestPartialIntersection.
2015-09-04 22:58:41 -07:00
H. S. Teoh
7acb9eac80
Add Params: and Returns: to cartesianProduct docs.
2015-09-04 22:51:06 -07:00
Dmitry Olshansky
f2220c2139
Merge pull request #3022 from ivan-timokhin/totalOrder
...
Total ordering for floating-point values.
2015-09-02 12:39:55 +03:00
Dmitry Olshansky
09d5b511f4
Merge pull request #3528 from vladdeSV/format-return-correct-type
...
format() returns the correct type
2015-08-30 22:57:57 +03:00
Vladimir Panteleev
8f5a37f174
Merge pull request #3542 from luismarques/fix_issue_14884
...
Fix Issue 14884 - `among` docs broken link to `find` and `canFind`
2015-08-26 03:18:46 +00:00
k-hara
6579c574bb
fix Issue 14904 - bad error message in reduce: 'Incompatible function/seed/element'
...
The verbose message is shown only when the given `fun` is actually valid.
2015-08-25 13:38:24 +09:00
H. S. Teoh
17e240b051
Fix typo in chunkBy cheatsheet.
2015-08-20 10:33:36 -07:00
H. S. Teoh
03eac95230
Add missing cheatsheet links for ordered and strictlyOrdered.
2015-08-19 22:21:20 -07:00
vladdeSV
9097c7bc0b
assert message is converted to string
2015-08-10 17:47:41 +02:00
Luís Marques
4b7976bc27
Fix Issue 14884
2015-08-10 14:55:21 +01:00
Luís Marques
3730d77c04
Fix issue 14880
2015-08-10 14:38:22 +01:00
Dmitry Olshansky
94f718e5c6
Merge pull request #3531 from MartinNowak/moveAllAssert
...
use assert instead of enforce for moveAll
2015-08-07 17:23:44 +03:00
Martin Nowak
901908ec7f
remove workaround for invalid bug 14878
...
- have to use `(T t) @safe {}`
- turns out that T in `(T) @safe {}` is the parameter
name of a polymorphic lambda not the parameter type
of a function literal
2015-08-07 01:03:22 +02:00
Martin Nowak
81ca4a8cc5
use assert instead of enforce for moveAll
...
- it's a programming error to call the function w/o
knowing if tgt can accomodate all of src
- for cases where it cannot be known in advance
there is moveSome which will stop when either
range is exhausted
- allows to make moveAll nothrow @nogc depending
on the destructor of T
2015-08-07 00:30:48 +02:00
Martin Nowak
3ccea802ba
test moveAll with input range
2015-08-06 13:38:31 +02:00
Martin Nowak
d4d301b35c
add moveEmplaceAll and moveEmplaceSome variant
...
- similar to their moveAll and moveSome counterparts
but assume that target is an uninitialized range
2015-08-06 13:30:10 +02:00
Martin Nowak
980351894b
make move and moveEmplace attribute correct
...
- moveEmplace is unsafe (@system)
- move inherits attributes from T's destructor
2015-08-06 13:30:10 +02:00
Martin Nowak
aefe7e5557
implement moveEmplace
...
- combined move and emplace
- moves a value and emplaces it into an
uninitialized value of the same type
- more efficient than init + move
2015-08-06 11:58:31 +02:00
Ivan Timokhin
6f1d4fe324
Mention new function in sort docs
2015-07-16 11:58:29 +03:00
Dmitry Olshansky
30e4ff1717
Merge pull request #3479 from Xinok/issue12966
...
Fix Issue 12966 - Optimization for BinaryHeap
2015-07-13 01:06:54 +03:00
Dmitry Olshansky
6a595fbd73
Merge pull request #3482 from CyberShadow/pull-20150710-071447
...
std.algorithm.iteration: Add permutations
2015-07-12 10:30:42 +03:00
Vladimir Panteleev
6079e23d82
std.algorithm.iteration: Add permutations (fix issue 13596)
2015-07-12 03:38:49 +00:00
Dmitry Olshansky
5d17edc745
Merge pull request #2799 from Poita/Issue13650
...
Fix Issue 13650 - Cannot copy (w)char[] into (w)char[]
2015-07-10 22:32:58 +03: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
k-hara
4ceb3ab159
Supplemental fix for issue 14747 - remove unreachable statements
2015-07-01 00:08:20 +09:00
Peter Alexander
1f0f8ef772
Fix Issue 13650 - Rebased
2015-06-29 22:17:09 +01:00
Vladimir Panteleev
4d5894b042
std.algorithm.sorting: Remove dead YouTube link from schwartzSort DDoc
...
IIRC, this was some sort of joke.
2015-06-29 19:34:27 +00:00
Vladimir Panteleev
ddec2b8c7b
std.algorithm.sorting: Remove dead YouTube link from schwartzSort DDoc
...
IIRC, this was some sort of joke.
2015-06-24 11:11:26 +00: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
Robert burner Schadek
c49a81e627
updates alias syntax inside algo comp
...
remove extra space
2015-05-28 19:35:46 +02:00
Martin Nowak
2e5cf6b9ca
remove groupBy
...
- accidentally added in 2.067.0
- replaced by compat alias to chunkBy in 2.067.1
2015-05-26 00:32:35 +02:00
Martin Nowak
28b1e54c53
Merge pull request #3226 from MartinNowak/merge_stable
...
Merge branch 'stable' into merge_stable
2015-05-18 17:13:14 +02: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
a76d90c927
Phobos should only mention tuple as std.typecons.Tuple
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