mirror of
https://github.com/dlang/phobos.git
synced 2025-05-03 08:30:33 +03:00
Fixed links to STL algorithms and HTML errors.
This commit is contained in:
parent
dda7f610a0
commit
516de1bd9c
1 changed files with 7 additions and 8 deletions
|
@ -1,10 +1,9 @@
|
||||||
// Written in the D programming language.
|
// Written in the D programming language.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
<script>inhibitQuickIndex = 1</script>
|
<script type="text/javascript">inhibitQuickIndex = 1</script>
|
||||||
|
|
||||||
$(BOOKTABLE ,
|
$(BOOKTABLE ,
|
||||||
|
|
||||||
$(TR $(TH Category) $(TH Functions)
|
$(TR $(TH Category) $(TH Functions)
|
||||||
)
|
)
|
||||||
$(TR $(TDNW Searching) $(TD $(MYREF balancedParens) $(MYREF
|
$(TR $(TDNW Searching) $(TD $(MYREF balancedParens) $(MYREF
|
||||||
|
@ -4300,7 +4299,7 @@ for element, according to binary predicate $(D pred). The ranges may
|
||||||
have different element types, as long as $(D pred(a, b)) evaluates to
|
have different element types, as long as $(D pred(a, b)) evaluates to
|
||||||
$(D bool) for $(D a) in $(D r1) and $(D b) in $(D r2). Performs
|
$(D bool) for $(D a) in $(D r1) and $(D b) in $(D r2). Performs
|
||||||
$(BIGOH min(r1.length, r2.length)) evaluations of $(D pred). See also
|
$(BIGOH min(r1.length, r2.length)) evaluations of $(D pred). See also
|
||||||
$(WEB sgi.com/tech/stl/_equal.html, STL's equal).
|
$(WEB sgi.com/tech/stl/_equal.html, STL's _equal).
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
----
|
----
|
||||||
|
@ -4703,7 +4702,7 @@ stops at the first mismatch (according to $(D pred), by default
|
||||||
equality). Returns a tuple with the reduced ranges that start with the
|
equality). Returns a tuple with the reduced ranges that start with the
|
||||||
two mismatched values. Performs $(BIGOH min(r1.length, r2.length))
|
two mismatched values. Performs $(BIGOH min(r1.length, r2.length))
|
||||||
evaluations of $(D pred). See also $(WEB
|
evaluations of $(D pred). See also $(WEB
|
||||||
sgi.com/tech/stl/_mismatch.html, STL's mismatch).
|
sgi.com/tech/stl/_mismatch.html, STL's _mismatch).
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
----
|
----
|
||||||
|
@ -4965,7 +4964,7 @@ unittest
|
||||||
/**
|
/**
|
||||||
Copies the content of $(D source) into $(D target) and returns the
|
Copies the content of $(D source) into $(D target) and returns the
|
||||||
remaining (unfilled) part of $(D target). See also $(WEB
|
remaining (unfilled) part of $(D target). See also $(WEB
|
||||||
sgi.com/tech/stl/_copy.html, STL's copy). If a behavior similar to
|
sgi.com/tech/stl/_copy.html, STL's _copy). If a behavior similar to
|
||||||
$(WEB sgi.com/tech/stl/copy_backward.html, STL's copy_backward) is
|
$(WEB sgi.com/tech/stl/copy_backward.html, STL's copy_backward) is
|
||||||
needed, use $(D copy(retro(source), retro(target))). See also $(XREF
|
needed, use $(D copy(retro(source), retro(target))). See also $(XREF
|
||||||
range, retro).
|
range, retro).
|
||||||
|
@ -5080,7 +5079,7 @@ unittest
|
||||||
// reverse
|
// reverse
|
||||||
/**
|
/**
|
||||||
Reverses $(D r) in-place. Performs $(D r.length) evaluations of $(D
|
Reverses $(D r) in-place. Performs $(D r.length) evaluations of $(D
|
||||||
swap). See also $(WEB sgi.com/tech/stl/_reverse.html, STL's reverse).
|
swap). See also $(WEB sgi.com/tech/stl/_reverse.html, STL's _reverse).
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
----
|
----
|
||||||
|
@ -5772,7 +5771,7 @@ swap). The unstable version computes the minimum possible evaluations
|
||||||
of $(D swap) (roughly half of those performed by the semistable
|
of $(D swap) (roughly half of those performed by the semistable
|
||||||
version).
|
version).
|
||||||
|
|
||||||
See also STL's $(WEB sgi.com/tech/stl/_partition.html, partition) and
|
See also STL's $(WEB sgi.com/tech/stl/_partition.html, _partition) and
|
||||||
$(WEB sgi.com/tech/stl/stable_partition.html, stable_partition).
|
$(WEB sgi.com/tech/stl/stable_partition.html, stable_partition).
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
@ -6144,7 +6143,7 @@ unittest
|
||||||
Sorts a random-access range according to predicate $(D less). Performs
|
Sorts a random-access range according to predicate $(D less). Performs
|
||||||
$(BIGOH r.length * log(r.length)) (if unstable) or $(BIGOH r.length *
|
$(BIGOH r.length * log(r.length)) (if unstable) or $(BIGOH r.length *
|
||||||
log(r.length) * log(r.length)) (if stable) evaluations of $(D less)
|
log(r.length) * log(r.length)) (if stable) evaluations of $(D less)
|
||||||
and $(D swap). See also STL's $(WEB sgi.com/tech/stl/_sort.html, sort)
|
and $(D swap). See also STL's $(WEB sgi.com/tech/stl/_sort.html, _sort)
|
||||||
and $(WEB sgi.com/tech/stl/stable_sort.html, stable_sort).
|
and $(WEB sgi.com/tech/stl/stable_sort.html, stable_sort).
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue