diff --git a/doc/html/index.html b/doc/html/index.html index 4acf487..4f1a4a1 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -3,7 +3,7 @@
Copyright © 2003 -2010 Thorsten Ottosen, Neil Groves
Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -135,7 +135,7 @@Last revised: April 04, 2010 at 23:38:19 GMT |
+Last revised: April 03, 2010 at 08:56:46 GMT |
@@ -75,7 +75,7 @@ Traversal Iterator.
diff --git a/doc/html/range/concepts/concept_checking.html b/doc/html/range/concepts/concept_checking.html index 17c8795..37175b4 100644 --- a/doc/html/range/concepts/concept_checking.html +++ b/doc/html/range/concepts/concept_checking.html @@ -3,7 +3,7 @@
diff --git a/doc/html/range/concepts/forward_range.html b/doc/html/range/concepts/forward_range.html index 7a96208..9076b68 100644 --- a/doc/html/range/concepts/forward_range.html +++ b/doc/html/range/concepts/forward_range.html @@ -3,7 +3,7 @@
@@ -73,14 +73,14 @@ Traversal Iterator.
diff --git a/doc/html/range/concepts/overview.html b/doc/html/range/concepts/overview.html index c2bb4d1..7cd19e8 100644 --- a/doc/html/range/concepts/overview.html +++ b/doc/html/range/concepts/overview.html @@ -3,7 +3,7 @@
@@ -35,7 +35,7 @@ Access Traversal Iterator.
boost::size(a)
completes in amortized constant time.
@@ -73,7 +73,7 @@ Pass Iterator.
diff --git a/doc/html/range/examples.html b/doc/html/range/examples.html index f517040..b272df8 100644 --- a/doc/html/range/examples.html +++ b/doc/html/range/examples.html @@ -3,7 +3,7 @@
diff --git a/doc/html/range/mfc_atl/atl_ranges.html b/doc/html/range/mfc_atl/atl_ranges.html index 766375d..65ee355 100644 --- a/doc/html/range/mfc_atl/atl_ranges.html +++ b/doc/html/range/mfc_atl/atl_ranges.html @@ -3,7 +3,7 @@
operator|()
.
@@ -49,7 +49,7 @@
@@ -61,14 +61,14 @@ the predicate versions.
Defined in the header file boost/range/algorithm/heap_algorithm.hpp
diff --git a/doc/html/range/reference/algorithms/heap_algorithms/pop_heap.html b/doc/html/range/reference/algorithms/heap_algorithms/pop_heap.html index 2fdd9a4..f1588b7 100644 --- a/doc/html/range/reference/algorithms/heap_algorithms/pop_heap.html +++ b/doc/html/range/reference/algorithms/heap_algorithms/pop_heap.html @@ -3,7 +3,7 @@
@@ -49,7 +49,7 @@
@@ -63,14 +63,14 @@ the predicate versions.
Defined in the header file boost/range/algorithm/heap_algorithm.hpp
diff --git a/doc/html/range/reference/algorithms/heap_algorithms/push_heap.html b/doc/html/range/reference/algorithms/heap_algorithms/push_heap.html index a8dadf9..35b64ca 100644 --- a/doc/html/range/reference/algorithms/heap_algorithms/push_heap.html +++ b/doc/html/range/reference/algorithms/heap_algorithms/push_heap.html @@ -3,7 +3,7 @@
@@ -49,7 +49,7 @@
@@ -63,14 +63,14 @@ the predicate versions.
Defined in the header file boost/range/algorithm/heap_algorithm.hpp
diff --git a/doc/html/range/reference/algorithms/permutation_algorithms.html b/doc/html/range/reference/algorithms/permutation_algorithms.html index a9e2392..12e33f9 100644 --- a/doc/html/range/reference/algorithms/permutation_algorithms.html +++ b/doc/html/range/reference/algorithms/permutation_algorithms.html @@ -3,7 +3,7 @@
@@ -49,7 +49,7 @@
@@ -67,14 +67,14 @@ the predicate versions.
Defined in the header file boost/range/algorithm/permutation.hpp
diff --git a/doc/html/range/reference/algorithms/permutation_algorithms/prev_permutation.html b/doc/html/range/reference/algorithms/permutation_algorithms/prev_permutation.html index 99ca8f6..a1e0d1d 100644 --- a/doc/html/range/reference/algorithms/permutation_algorithms/prev_permutation.html +++ b/doc/html/range/reference/algorithms/permutation_algorithms/prev_permutation.html @@ -3,7 +3,7 @@
@@ -49,7 +49,7 @@
@@ -67,14 +67,14 @@ the predicate versions.
Defined in the header file boost/range/algorithm/permutation.hpp
diff --git a/doc/html/range/reference/algorithms/range_algorithm_introduction.html b/doc/html/range/reference/algorithms/range_algorithm_introduction.html index f0aa6c4..9f15ed5 100644 --- a/doc/html/range/reference/algorithms/range_algorithm_introduction.html +++ b/doc/html/range/reference/algorithms/range_algorithm_introduction.html @@ -3,7 +3,7 @@
@@ -40,7 +40,7 @@
@@ -51,14 +51,14 @@ distance(source_rng)
Defined in the header file boost/range/algorithm/copy.hpp
diff --git a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/copy_backward.html b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/copy_backward.html index f37fe0c..541db9a 100644 --- a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/copy_backward.html +++ b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/copy_backward.html @@ -3,7 +3,7 @@
@@ -42,7 +42,7 @@
@@ -60,14 +60,14 @@ denotes the end of the output sequence.
Defined in the header file boost/range/algorithm/copy_backward.hpp
diff --git a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/fill.html b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/fill.html index 71d7d01..4bb5340 100644 --- a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/fill.html +++ b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/fill.html @@ -3,7 +3,7 @@
@@ -43,7 +43,7 @@
@@ -52,14 +52,14 @@
in the range rng
.
Defined in the header file boost/range/algorithm/fill.hpp
diff --git a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/generate.html b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/generate.html index 1e41289..1a5ba8a 100644 --- a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/generate.html +++ b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/generate.html @@ -3,7 +3,7 @@
@@ -43,7 +43,7 @@
@@ -53,14 +53,14 @@ Returns the resultant range.
Defined in the header file boost/range/algorithm/generate.hpp
diff --git a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/inplace_merge.html b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/inplace_merge.html index 82521d9..fafc9d5 100644 --- a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/inplace_merge.html +++ b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/inplace_merge.html @@ -3,7 +3,7 @@
@@ -59,7 +59,7 @@
@@ -72,14 +72,14 @@ input range is preserved.
Defined in the header file boost/range/algorithm/inplace_merge.hpp
@@ -116,11 +116,11 @@ argument types.
diff --git a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/merge.html b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/merge.html index 7077cd8..9bd570e 100644 --- a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/merge.html +++ b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/merge.html @@ -3,7 +3,7 @@
@@ -57,7 +57,7 @@
@@ -76,14 +76,14 @@
version uses the predicate instead of operator<()
.
Defined in the header file boost/range/algorithm/merge.hpp
diff --git a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/nth_element.html b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/nth_element.html index 24006c0..b8d27f0 100644 --- a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/nth_element.html +++ b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/nth_element.html @@ -3,7 +3,7 @@
@@ -55,7 +55,7 @@
@@ -66,14 +66,14 @@
is the same as the element that would be in that position if rng
has been sorted.
Defined in the header file boost/range/algorithm/nth_element.hpp
diff --git a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/partial_sort.html b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/partial_sort.html index 0fc0343..d218c43 100644 --- a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/partial_sort.html +++ b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/partial_sort.html @@ -3,7 +3,7 @@
@@ -55,7 +55,7 @@
@@ -71,14 +71,14 @@ predicate instead.
Defined in the header file boost/range/algorithm/partial_sort.hpp
diff --git a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/partition.html b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/partition.html index 76f6f5e..4136a2a 100644 --- a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/partition.html +++ b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/partition.html @@ -3,7 +3,7 @@
@@ -67,7 +67,7 @@
@@ -81,14 +81,14 @@ corresponds to the middle iterator.
Defined in the header file boost/range/algorithm/partition.hpp
diff --git a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/random_shuffle.html b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/random_shuffle.html index 908aff4..190f66f 100644 --- a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/random_shuffle.html +++ b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/random_shuffle.html @@ -3,7 +3,7 @@
@@ -49,7 +49,7 @@
@@ -61,14 +61,14 @@ the shuffles range.
Defined in the header file boost/range/algorithm/random_shuffle.hpp
diff --git a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/remove.html b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/remove.html index 22e7f61..4cb906c 100644 --- a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/remove.html +++ b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/remove.html @@ -3,7 +3,7 @@
@@ -67,7 +67,7 @@
@@ -84,14 +84,14 @@ are dereferenceable, but the elements are unspecified.
Defined in the header file boost/range/algorithm/remove.hpp
diff --git a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/remove_if.html b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/remove_if.html index c984606..9896adc 100644 --- a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/remove_if.html +++ b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/remove_if.html @@ -3,7 +3,7 @@
@@ -67,7 +67,7 @@
@@ -83,14 +83,14 @@ are unspecified.
Defined in the header file boost/range/algorithm/remove_if.hpp
diff --git a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/replace.html b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/replace.html index 463fb05..ab4232d 100644 --- a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/replace.html +++ b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/replace.html @@ -3,7 +3,7 @@
@@ -49,7 +49,7 @@
@@ -58,14 +58,14 @@
Return a reference to rng
.
Defined in the header file boost/range/algorithm/replace.hpp
diff --git a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/replace_if.html b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/replace_if.html index c1e8e7e..7677651 100644 --- a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/replace_if.html +++ b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/replace_if.html @@ -3,7 +3,7 @@
@@ -43,7 +43,7 @@
@@ -52,14 +52,14 @@
Returns a reference to rng
.
Defined in the header file boost/range/algorithm/replace_if.hpp
diff --git a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/rotate.html b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/rotate.html index dd045fe..55faad4 100644 --- a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/rotate.html +++ b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/rotate.html @@ -3,7 +3,7 @@
@@ -45,7 +45,7 @@
@@ -54,14 +54,14 @@
and [middle, end(rng))
. Returns a reference to rng
.
Defined in the header file boost/range/algorithm/rotate.hpp
diff --git a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/sort.html b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/sort.html index bfe26e0..290f8e7 100644 --- a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/sort.html +++ b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/sort.html @@ -3,7 +3,7 @@
@@ -49,7 +49,7 @@
@@ -72,14 +72,14 @@
[x,y]
, pred(y, x) == false
.
Defined in the header file boost/range/algorithm/sort.hpp
diff --git a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/stable_partition.html b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/stable_partition.html index 5a7904f..eb0032a 100644 --- a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/stable_partition.html +++ b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/stable_partition.html @@ -3,7 +3,7 @@
@@ -61,7 +61,7 @@
@@ -83,14 +83,14 @@
the iterator to the first element that fails to satisfy pred
.
Defined in the header file boost/range/algorithm/stable_partition.hpp
diff --git a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/stable_sort.html b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/stable_sort.html index 7459b12..984024d 100644 --- a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/stable_sort.html +++ b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/stable_sort.html @@ -3,7 +3,7 @@
@@ -49,7 +49,7 @@
@@ -72,14 +72,14 @@
[x,y]
, pred(y,x) == false
.
Defined in the header file boost/range/algorithm/stable_sort.hpp
diff --git a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/transform.html b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/transform.html index f574116..58da4ca 100644 --- a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/transform.html +++ b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/transform.html @@ -3,7 +3,7 @@
@@ -57,7 +57,7 @@
@@ -93,14 +93,14 @@
The return value is out + min(distance(rng1), distance(rng2))
.
Defined in the header file boost/range/algorithm/transform.hpp
diff --git a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/unique.html b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/unique.html index 47bce04..aaa5525 100644 --- a/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/unique.html +++ b/doc/html/range/reference/algorithms/range_algorithm_mutating_algorithms/unique.html @@ -3,7 +3,7 @@
@@ -69,7 +69,7 @@
@@ -87,14 +87,14 @@ type.
Defined in the header file boost/range/algorithm/unique.hpp
diff --git a/doc/html/range/reference/algorithms/range_algorithm_new_algorithms.html b/doc/html/range/reference/algorithms/range_algorithm_new_algorithms.html index 54db92f..7b34570 100644 --- a/doc/html/range/reference/algorithms/range_algorithm_new_algorithms.html +++ b/doc/html/range/reference/algorithms/range_algorithm_new_algorithms.html @@ -3,7 +3,7 @@
@@ -44,7 +44,7 @@
@@ -53,14 +53,14 @@
target
.
Defined in the header file boost/range/algorithm_ext/erase.hpp
diff --git a/doc/html/range/reference/algorithms/range_algorithm_new_algorithms/for_each.html b/doc/html/range/reference/algorithms/range_algorithm_new_algorithms/for_each.html index b621761..4a1cb75 100644 --- a/doc/html/range/reference/algorithms/range_algorithm_new_algorithms/for_each.html +++ b/doc/html/range/reference/algorithms/range_algorithm_new_algorithms/for_each.html @@ -3,11 +3,11 @@
-
template<class SinglePassRange, class Value> -iota(SinglePassRange& rng, Value x); +template< + class SinglePassRange1, + class SinglePassRange2, + class BinaryFunction + > +BinaryFunction for_each(const SinglePassRange1& rng1, + const SinglePassRange2& rng2, + BinaryFunction fn); + +template< + class SinglePassRange1, + class SinglePassRange2, + class BinaryFunction + > +BinaryFunction for_each(const SinglePassRange1& rng1, + SinglePassRange2& rng2, + BinaryFunction fn); + +template< + class SinglePassRange1, + class SinglePassRange2, + class BinaryFunction + > +BinaryFunction for_each(SinglePassRange1& rng1, + const SinglePassRange2& rng2, + BinaryFunction fn); + +template< + class SinglePassRange1, + class SinglePassRange2, + class BinaryFunction + > +BinaryFunction for_each(SinglePassRange1& rng1, + SinglePassRange2& rng2, + BinaryFunction fn);
- + Description
-
+iota
traverses forward - throughrng
, each element -y
inrng
- is assigned a value equivalent tox - + boost::distance(boost::begin(rng), it)
+for_each
traverses forward + throughrng1
andrng2
simultaneously. For each iteration, + the elementx
is used + fromrng1
and the corresponding + elementy
is used from +rng2
to invokefn(x,y)
. ++ Iteration is stopped upon reaching the end of the shorter of
rng1
, orrng2
. + It is safe to call this function with unequal length ranges.- + Definition
- Defined in the header file
boost/range/algorithm_ext/iota.hpp
+ Defined in the header fileboost/range/algorithm_ext/for_each.hpp
- + Requirements
- -
SinglePassRange
is +SinglePassRange1
is a model of the Single Pass Range Concept.- -
+Value
is a model of - theIncrementable
Concept. +SinglePassRange2
is + a model of the Single + Pass Range Concept. +- +
+BinaryFunction
is a + model of theBinaryFunctionConcept
. +- +
+SinglePassRange1
's + value type is convertible toBinaryFunction
's + first argument type. +- +
SinglepassRange2
's + value type is convertible toBinaryFunction
's + second argument type.- + Complexity
- Linear. Exactly
distance(rng)
assignments intorng
. + Linear. Exactlymin(distance(rng1), distance(rng2))
+ applications ofBinaryFunction
.