tmp/tmpxethehev/{from.md → to.md}
RENAMED
|
@@ -2,13 +2,17 @@
|
|
| 2 |
|
| 3 |
[*Note 1*: The header `<cstdlib>` declares the functions described in
|
| 4 |
this subclause. — *end note*]
|
| 5 |
|
| 6 |
``` cpp
|
| 7 |
-
void* bsearch(const void* key,
|
| 8 |
c-compare-pred* compar);
|
| 9 |
-
void* bsearch(const void* key,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
compare-pred* compar);
|
| 11 |
void qsort(void* base, size_t nmemb, size_t size, c-compare-pred* compar);
|
| 12 |
void qsort(void* base, size_t nmemb, size_t size, compare-pred* compar);
|
| 13 |
```
|
| 14 |
|
|
@@ -19,11 +23,11 @@ void qsort(void* base, size_t nmemb, size_t size, compare-pred* compar);
|
|
| 19 |
standard library.
|
| 20 |
|
| 21 |
*Throws:* Any exception thrown by `compar`
|
| 22 |
[[res.on.exception.handling]].
|
| 23 |
|
| 24 |
-
See also: ISO C 7.
|
| 25 |
|
| 26 |
<!-- Link reference definitions -->
|
| 27 |
[accumulate]: #accumulate
|
| 28 |
[adjacent.difference]: #adjacent.difference
|
| 29 |
[alg.adjacent.find]: #alg.adjacent.find
|
|
@@ -43,24 +47,29 @@ See also: ISO C 7.22.5
|
|
| 43 |
[alg.find.end]: #alg.find.end
|
| 44 |
[alg.find.first.of]: #alg.find.first.of
|
| 45 |
[alg.find.last]: #alg.find.last
|
| 46 |
[alg.fold]: #alg.fold
|
| 47 |
[alg.foreach]: #alg.foreach
|
|
|
|
| 48 |
[alg.generate]: #alg.generate
|
| 49 |
[alg.heap.operations]: #alg.heap.operations
|
| 50 |
[alg.heap.operations.general]: #alg.heap.operations.general
|
| 51 |
[alg.is.permutation]: #alg.is.permutation
|
| 52 |
[alg.lex.comparison]: #alg.lex.comparison
|
| 53 |
[alg.merge]: #alg.merge
|
| 54 |
[alg.min.max]: #alg.min.max
|
|
|
|
| 55 |
[alg.modifying.operations]: #alg.modifying.operations
|
| 56 |
[alg.move]: #alg.move
|
| 57 |
[alg.none.of]: #alg.none.of
|
| 58 |
[alg.nonmodifying]: #alg.nonmodifying
|
| 59 |
[alg.nth.element]: #alg.nth.element
|
| 60 |
[alg.partitions]: #alg.partitions
|
| 61 |
[alg.permutation.generators]: #alg.permutation.generators
|
|
|
|
|
|
|
|
|
|
| 62 |
[alg.random.sample]: #alg.random.sample
|
| 63 |
[alg.random.shuffle]: #alg.random.shuffle
|
| 64 |
[alg.remove]: #alg.remove
|
| 65 |
[alg.replace]: #alg.replace
|
| 66 |
[alg.reverse]: #alg.reverse
|
|
@@ -88,13 +97,14 @@ See also: ISO C 7.22.5
|
|
| 88 |
[algorithms.parallel.overloads]: #algorithms.parallel.overloads
|
| 89 |
[algorithms.parallel.user]: #algorithms.parallel.user
|
| 90 |
[algorithms.requirements]: #algorithms.requirements
|
| 91 |
[algorithms.results]: #algorithms.results
|
| 92 |
[algorithms.summary]: #algorithms.summary
|
|
|
|
| 93 |
[basic.compound]: basic.md#basic.compound
|
| 94 |
-
[basic.
|
| 95 |
-
[basic.
|
| 96 |
[bidirectional.iterators]: iterators.md#bidirectional.iterators
|
| 97 |
[binary.search]: #binary.search
|
| 98 |
[class.conv]: class.md#class.conv
|
| 99 |
[concept.booleantestable]: concepts.md#concept.booleantestable
|
| 100 |
[containers]: containers.md#containers
|
|
@@ -103,21 +113,30 @@ See also: ISO C 7.22.5
|
|
| 103 |
[cpp17.copyconstructible]: #cpp17.copyconstructible
|
| 104 |
[cpp17.lessthancomparable]: #cpp17.lessthancomparable
|
| 105 |
[cpp17.moveassignable]: #cpp17.moveassignable
|
| 106 |
[cpp17.moveconstructible]: #cpp17.moveconstructible
|
| 107 |
[equal.range]: #equal.range
|
|
|
|
| 108 |
[exclusive.scan]: #exclusive.scan
|
| 109 |
-
[execpol]:
|
| 110 |
-
[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 111 |
[expr.new]: expr.md#expr.new
|
| 112 |
[forward.iterators]: iterators.md#forward.iterators
|
| 113 |
[function.objects]: utilities.md#function.objects
|
| 114 |
[includes]: #includes
|
| 115 |
[inclusive.scan]: #inclusive.scan
|
| 116 |
[inner.product]: #inner.product
|
| 117 |
[input.iterators]: iterators.md#input.iterators
|
| 118 |
[intro.execution]: basic.md#intro.execution
|
|
|
|
| 119 |
[intro.progress]: basic.md#intro.progress
|
| 120 |
[is.heap]: #is.heap
|
| 121 |
[is.sorted]: #is.sorted
|
| 122 |
[iterator.concept.bidir]: iterators.md#iterator.concept.bidir
|
| 123 |
[iterator.concept.forward]: iterators.md#iterator.concept.forward
|
|
@@ -127,19 +146,21 @@ See also: ISO C 7.22.5
|
|
| 127 |
[iterator.concept.sizedsentinel]: iterators.md#iterator.concept.sizedsentinel
|
| 128 |
[iterator.requirements]: iterators.md#iterator.requirements
|
| 129 |
[iterator.requirements.general]: iterators.md#iterator.requirements.general
|
| 130 |
[lower.bound]: #lower.bound
|
| 131 |
[make.heap]: #make.heap
|
| 132 |
-
[mismatch]: #mismatch
|
| 133 |
[multiset]: containers.md#multiset
|
| 134 |
[numeric.iota]: #numeric.iota
|
| 135 |
[numeric.ops]: #numeric.ops
|
| 136 |
[numeric.ops.gcd]: #numeric.ops.gcd
|
| 137 |
[numeric.ops.general]: #numeric.ops.general
|
| 138 |
[numeric.ops.lcm]: #numeric.ops.lcm
|
| 139 |
[numeric.ops.midpoint]: #numeric.ops.midpoint
|
| 140 |
[numeric.ops.overview]: #numeric.ops.overview
|
|
|
|
|
|
|
|
|
|
| 141 |
[numerics.defns]: #numerics.defns
|
| 142 |
[output.iterators]: iterators.md#output.iterators
|
| 143 |
[partial.sort]: #partial.sort
|
| 144 |
[partial.sort.copy]: #partial.sort.copy
|
| 145 |
[partial.sum]: #partial.sum
|
|
@@ -162,11 +183,10 @@ See also: ISO C 7.22.5
|
|
| 162 |
[specialized.algorithms.general]: #specialized.algorithms.general
|
| 163 |
[specialized.construct]: #specialized.construct
|
| 164 |
[specialized.destroy]: #specialized.destroy
|
| 165 |
[stable.sort]: #stable.sort
|
| 166 |
[swappable.requirements]: library.md#swappable.requirements
|
| 167 |
-
[temp.func.order]: temp.md#temp.func.order
|
| 168 |
[term.unevaluated.operand]: expr.md#term.unevaluated.operand
|
| 169 |
[thread.jthread.class]: thread.md#thread.jthread.class
|
| 170 |
[thread.thread.class]: thread.md#thread.thread.class
|
| 171 |
[transform.exclusive.scan]: #transform.exclusive.scan
|
| 172 |
[transform.inclusive.scan]: #transform.inclusive.scan
|
|
|
|
| 2 |
|
| 3 |
[*Note 1*: The header `<cstdlib>` declares the functions described in
|
| 4 |
this subclause. — *end note*]
|
| 5 |
|
| 6 |
``` cpp
|
| 7 |
+
void* bsearch(const void* key, void* base, size_t nmemb, size_t size,
|
| 8 |
c-compare-pred* compar);
|
| 9 |
+
void* bsearch(const void* key, void* base, size_t nmemb, size_t size,
|
| 10 |
+
compare-pred* compar);
|
| 11 |
+
const void* bsearch(const void* key, const void* base, size_t nmemb, size_t size,
|
| 12 |
+
c-compare-pred* compar);
|
| 13 |
+
const void* bsearch(const void* key, const void* base, size_t nmemb, size_t size,
|
| 14 |
compare-pred* compar);
|
| 15 |
void qsort(void* base, size_t nmemb, size_t size, c-compare-pred* compar);
|
| 16 |
void qsort(void* base, size_t nmemb, size_t size, compare-pred* compar);
|
| 17 |
```
|
| 18 |
|
|
|
|
| 23 |
standard library.
|
| 24 |
|
| 25 |
*Throws:* Any exception thrown by `compar`
|
| 26 |
[[res.on.exception.handling]].
|
| 27 |
|
| 28 |
+
See also: ISO C 7.24.6
|
| 29 |
|
| 30 |
<!-- Link reference definitions -->
|
| 31 |
[accumulate]: #accumulate
|
| 32 |
[adjacent.difference]: #adjacent.difference
|
| 33 |
[alg.adjacent.find]: #alg.adjacent.find
|
|
|
|
| 47 |
[alg.find.end]: #alg.find.end
|
| 48 |
[alg.find.first.of]: #alg.find.first.of
|
| 49 |
[alg.find.last]: #alg.find.last
|
| 50 |
[alg.fold]: #alg.fold
|
| 51 |
[alg.foreach]: #alg.foreach
|
| 52 |
+
[alg.func.obj]: library.md#alg.func.obj
|
| 53 |
[alg.generate]: #alg.generate
|
| 54 |
[alg.heap.operations]: #alg.heap.operations
|
| 55 |
[alg.heap.operations.general]: #alg.heap.operations.general
|
| 56 |
[alg.is.permutation]: #alg.is.permutation
|
| 57 |
[alg.lex.comparison]: #alg.lex.comparison
|
| 58 |
[alg.merge]: #alg.merge
|
| 59 |
[alg.min.max]: #alg.min.max
|
| 60 |
+
[alg.mismatch]: #alg.mismatch
|
| 61 |
[alg.modifying.operations]: #alg.modifying.operations
|
| 62 |
[alg.move]: #alg.move
|
| 63 |
[alg.none.of]: #alg.none.of
|
| 64 |
[alg.nonmodifying]: #alg.nonmodifying
|
| 65 |
[alg.nth.element]: #alg.nth.element
|
| 66 |
[alg.partitions]: #alg.partitions
|
| 67 |
[alg.permutation.generators]: #alg.permutation.generators
|
| 68 |
+
[alg.rand]: #alg.rand
|
| 69 |
+
[alg.rand.general]: #alg.rand.general
|
| 70 |
+
[alg.rand.generate]: #alg.rand.generate
|
| 71 |
[alg.random.sample]: #alg.random.sample
|
| 72 |
[alg.random.shuffle]: #alg.random.shuffle
|
| 73 |
[alg.remove]: #alg.remove
|
| 74 |
[alg.replace]: #alg.replace
|
| 75 |
[alg.reverse]: #alg.reverse
|
|
|
|
| 97 |
[algorithms.parallel.overloads]: #algorithms.parallel.overloads
|
| 98 |
[algorithms.parallel.user]: #algorithms.parallel.user
|
| 99 |
[algorithms.requirements]: #algorithms.requirements
|
| 100 |
[algorithms.results]: #algorithms.results
|
| 101 |
[algorithms.summary]: #algorithms.summary
|
| 102 |
+
[atomics.order]: thread.md#atomics.order
|
| 103 |
[basic.compound]: basic.md#basic.compound
|
| 104 |
+
[basic.fundamental]: basic.md#basic.fundamental
|
| 105 |
+
[basic.life]: basic.md#basic.life
|
| 106 |
[bidirectional.iterators]: iterators.md#bidirectional.iterators
|
| 107 |
[binary.search]: #binary.search
|
| 108 |
[class.conv]: class.md#class.conv
|
| 109 |
[concept.booleantestable]: concepts.md#concept.booleantestable
|
| 110 |
[containers]: containers.md#containers
|
|
|
|
| 113 |
[cpp17.copyconstructible]: #cpp17.copyconstructible
|
| 114 |
[cpp17.lessthancomparable]: #cpp17.lessthancomparable
|
| 115 |
[cpp17.moveassignable]: #cpp17.moveassignable
|
| 116 |
[cpp17.moveconstructible]: #cpp17.moveconstructible
|
| 117 |
[equal.range]: #equal.range
|
| 118 |
+
[except.terminate]: except.md#except.terminate
|
| 119 |
[exclusive.scan]: #exclusive.scan
|
| 120 |
+
[execpol]: #execpol
|
| 121 |
+
[execpol.general]: #execpol.general
|
| 122 |
+
[execpol.objects]: #execpol.objects
|
| 123 |
+
[execpol.par]: #execpol.par
|
| 124 |
+
[execpol.parunseq]: #execpol.parunseq
|
| 125 |
+
[execpol.seq]: #execpol.seq
|
| 126 |
+
[execpol.type]: #execpol.type
|
| 127 |
+
[execpol.unseq]: #execpol.unseq
|
| 128 |
+
[expr.const]: expr.md#expr.const
|
| 129 |
[expr.new]: expr.md#expr.new
|
| 130 |
[forward.iterators]: iterators.md#forward.iterators
|
| 131 |
[function.objects]: utilities.md#function.objects
|
| 132 |
[includes]: #includes
|
| 133 |
[inclusive.scan]: #inclusive.scan
|
| 134 |
[inner.product]: #inner.product
|
| 135 |
[input.iterators]: iterators.md#input.iterators
|
| 136 |
[intro.execution]: basic.md#intro.execution
|
| 137 |
+
[intro.object]: basic.md#intro.object
|
| 138 |
[intro.progress]: basic.md#intro.progress
|
| 139 |
[is.heap]: #is.heap
|
| 140 |
[is.sorted]: #is.sorted
|
| 141 |
[iterator.concept.bidir]: iterators.md#iterator.concept.bidir
|
| 142 |
[iterator.concept.forward]: iterators.md#iterator.concept.forward
|
|
|
|
| 146 |
[iterator.concept.sizedsentinel]: iterators.md#iterator.concept.sizedsentinel
|
| 147 |
[iterator.requirements]: iterators.md#iterator.requirements
|
| 148 |
[iterator.requirements.general]: iterators.md#iterator.requirements.general
|
| 149 |
[lower.bound]: #lower.bound
|
| 150 |
[make.heap]: #make.heap
|
|
|
|
| 151 |
[multiset]: containers.md#multiset
|
| 152 |
[numeric.iota]: #numeric.iota
|
| 153 |
[numeric.ops]: #numeric.ops
|
| 154 |
[numeric.ops.gcd]: #numeric.ops.gcd
|
| 155 |
[numeric.ops.general]: #numeric.ops.general
|
| 156 |
[numeric.ops.lcm]: #numeric.ops.lcm
|
| 157 |
[numeric.ops.midpoint]: #numeric.ops.midpoint
|
| 158 |
[numeric.ops.overview]: #numeric.ops.overview
|
| 159 |
+
[numeric.sat]: #numeric.sat
|
| 160 |
+
[numeric.sat.cast]: #numeric.sat.cast
|
| 161 |
+
[numeric.sat.func]: #numeric.sat.func
|
| 162 |
[numerics.defns]: #numerics.defns
|
| 163 |
[output.iterators]: iterators.md#output.iterators
|
| 164 |
[partial.sort]: #partial.sort
|
| 165 |
[partial.sort.copy]: #partial.sort.copy
|
| 166 |
[partial.sum]: #partial.sum
|
|
|
|
| 183 |
[specialized.algorithms.general]: #specialized.algorithms.general
|
| 184 |
[specialized.construct]: #specialized.construct
|
| 185 |
[specialized.destroy]: #specialized.destroy
|
| 186 |
[stable.sort]: #stable.sort
|
| 187 |
[swappable.requirements]: library.md#swappable.requirements
|
|
|
|
| 188 |
[term.unevaluated.operand]: expr.md#term.unevaluated.operand
|
| 189 |
[thread.jthread.class]: thread.md#thread.jthread.class
|
| 190 |
[thread.thread.class]: thread.md#thread.thread.class
|
| 191 |
[transform.exclusive.scan]: #transform.exclusive.scan
|
| 192 |
[transform.inclusive.scan]: #transform.inclusive.scan
|