diff --git a/doc/html/fusion/acknowledgements.html b/doc/html/fusion/acknowledgements.html index 05453358..d1f544ad 100644 --- a/doc/html/fusion/acknowledgements.html +++ b/doc/html/fusion/acknowledgements.html @@ -1,16 +1,12 @@
- +Special thanks to David Abrahams, Douglas Gregor, Hartmut Kaiser, Aleksey Gurtovoy, Peder Holt, Daniel Wallin, Jaakko Jarvi, Jeremiah Willcock, Dan Marsden, Eric @@ -50,7 +43,7 @@
- | Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
+ Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger 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) diff --git a/doc/html/fusion/adapted.html b/doc/html/fusion/adapted.html index 080ac71c..beb3e6aa 100644 --- a/doc/html/fusion/adapted.html +++ b/doc/html/fusion/adapted.html @@ -1,16 +1,12 @@ - +
-
-
+-Adapted -
+
+Adapted +
- Fusion provides a couple of adapters for other sequences such as std::pair,
+ Fusion provides a couple of adapters for other sequences such as - - Header --=======- + Header->>>>>>> .merge-right.r57125#include <boost/fusion/adapted.hpp> #include <boost/fusion/include/adapted.hpp> Fusion sequences may also be adapted as fully conforming MPL - sequences (see Intrinsics). + sequences (see Intrinsics). That way, we can have 2-way adaptation to and from MPL and Fusion. To make Fusion sequences fully conforming MPL sequences, include: @@ -88,7 +74,7 @@
|
for_each
(seq, f);
- Return type: void
+ Return type: void
- Semantics: Calls f(e) for each element e
- in seq.
+ Semantics: Calls f(e)
for each element e
+ in seq
.
- Linear, exactly result_of::size<Sequence>::value applications of f.
+ Linear, exactly
applications of result_of::size
<Sequence>::valuef
.
#include <boost/fusion/algorithm/iteration/for_each.hpp> #include <boost/fusion/include/for_each.hpp>
struct increment { @@ -303,9 +152,9 @@ } }; ... -vector<int,int> vec(1,2); -for_each(vec, increment()); -assert(vec == make_vector(2,3)); +vector
<int,int> vec(1,2); +for_each
(vec, increment()); +assert(vec ==make_vector
(2,3));
result_of::accumulate
<Sequence, State, F>::type
- Return type: Any type + Return type: Any type
- Semantics: Returns the result of applying
- accumulate to a sequence
- of type Sequence, with
- an initial state of type State
- and binary function object or function pointer of type F.
+ Semantics: Returns the result of applying
+ accumulate
to a sequence
+ of type Sequence
, with
+ an initial state of type State
+ and binary function object or function pointer of type F
.
- Linear, exactly result_of::size<Sequence>::value applications of F.
+ Linear, exactly
applications of result_of::size
<Sequence>::valueF
.
#include <boost/fusion/algorithm/iteration/accumulate.hpp> #include <boost/fusion/include/accumulate.hpp> diff --git a/doc/html/fusion/algorithm/iteration/metafunctions/fold.html b/doc/html/fusion/algorithm/iteration/metafunctions/fold.html index 406d0184..87a86e41 100644 --- a/doc/html/fusion/algorithm/iteration/metafunctions/fold.html +++ b/doc/html/fusion/algorithm/iteration/metafunctions/fold.html @@ -3,18 +3,10 @@fold -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,73 +22,20 @@ ---+- --fold -
+-<<<<<<< .working -+fold +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
- Returns the result type of fold. + Returns the result type of
fold
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Sequence, @@ -108,86 +47,67 @@ };-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.36. Parameters
--======= -
Table 1.36. Parameters
-======= -Table 1.40. Parameters
-======= -Table 1.40. Parameters
-======= -Table 1.40. Parameters
-======= -Table 1.40. Parameters
-======= -Table 1.40. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.40. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - Sequence -
- A model of Forward +
+ ++
+Sequence
++ -+ A model of Forward Sequence -
+ +
++ + +The sequence to iterate -
- - - State -
+
+ ++
+State
++ -Any type -
+ + + - The initial state for the first application of F -
+ + The initial state for the first application of
+F
+-<<<<<<< .working - -- - F -
- - boost::result_of<F(E,S)>::type is the return type of f(e,s) - for each element e - of type E in seq, and current state s of type S -
-=======
F
@@ -204,96 +124,40 @@+ + ->>>>>>> .merge-right.r57125 The operation to be applied on forward traversal -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-result_of::fold<Sequence, State, F>::type +result_of::fold
<Sequence, State, F>::type- Return type: Any type + Return type: Any type
- Semantics: Returns the result of applying - fold to a sequence of - type Sequence, with an - initial state of type State - and binary function object or function pointer of type F. + Semantics: Returns the result of applying +
fold
to a sequence of + typeSequence
, with an + initial state of typeState
+ and binary function object or function pointer of typeF
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
- Linear, exactly result_of::size<Sequence>::value applications of F. + Linear, exactly
applications of
result_of::size
<Sequence>::valueF
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/iteration/fold.hpp> #include <boost/fusion/include/fold.hpp> diff --git a/doc/html/fusion/algorithm/iteration/metafunctions/for_each.html b/doc/html/fusion/algorithm/iteration/metafunctions/for_each.html index 0ee3af28..5f8b4a42 100644 --- a/doc/html/fusion/algorithm/iteration/metafunctions/for_each.html +++ b/doc/html/fusion/algorithm/iteration/metafunctions/for_each.html @@ -3,18 +3,10 @@for_each -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,74 +22,21 @@ ---+- --for_each -
+-<<<<<<< .working -+for_each +
- A metafunction returning the result type of applying for_each to a sequence. The - return type of for_each is always void. + A metafunction returning the result type of applying
for_each
to a sequence. The + return type offor_each
is alwaysvoid
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Sequence, @@ -109,160 +48,96 @@ };-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.38. Parameters
--======= -
Table 1.38. Parameters
-======= -Table 1.42. Parameters
-======= -Table 1.42. Parameters
-======= -Table 1.42. Parameters
-======= -Table 1.42. Parameters
-======= -Table 1.42. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.42. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - Sequence -
- A model of Forward +
+ ++
+Sequence
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- -- - F -
+
+ ++
+F
++ -Any type -
+ +
++ + +Operation's argument -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-result_of::for_each<Sequence, F>::type +result_of::for_each
<Sequence, F>::type- Return type: void. + Return type:
void
.- Semantics: Returns the return type of - for_each for a sequence of type - Sequence and a unary - function object F. The - return type is always void. + Semantics: Returns the return type of +
for_each
for a sequence of type +Sequence
and a unary + function objectF
. The + return type is alwaysvoid
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/iteration/for_each.hpp> #include <boost/fusion/include/for_each.hpp> diff --git a/doc/html/fusion/algorithm/query.html b/doc/html/fusion/algorithm/query.html index 29d30581..d93b96b9 100644 --- a/doc/html/fusion/algorithm/query.html +++ b/doc/html/fusion/algorithm/query.html @@ -1,16 +1,12 @@ - +Query -<<<<<<< .working - -======= ->>>>>>> .merge-right.r57125 - + - + @@ -26,13 +22,10 @@ ---+- --Query -
++Query +
- Functions
- Metafunctions
@@ -40,24 +33,17 @@The query algorithms provide support for searching and analyzing sequences.
-<<<<<<< .working -- - Header -
-=======- + Header
->>>>>>> .merge-right.r57125#include <boost/fusion/algorithm/query.hpp> #include <boost/fusion/include/query.hpp>
- Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias + Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias SchwingerDistributed 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) diff --git a/doc/html/fusion/algorithm/query/functions.html b/doc/html/fusion/algorithm/query/functions.html index 687ca088..99f9f4c4 100644 --- a/doc/html/fusion/algorithm/query/functions.html +++ b/doc/html/fusion/algorithm/query/functions.html @@ -1,16 +1,12 @@
- +Functions -<<<<<<< .working - -======= ->>>>>>> .merge-right.r57125 - + - + @@ -26,13 +22,10 @@ ---+- --Functions -
++Functions +
- Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias + Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias SchwingerDistributed 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) diff --git a/doc/html/fusion/algorithm/query/functions/all.html b/doc/html/fusion/algorithm/query/functions/all.html index 372a2aca..851d318c 100644 --- a/doc/html/fusion/algorithm/query/functions/all.html +++ b/doc/html/fusion/algorithm/query/functions/all.html @@ -3,18 +3,10 @@
all -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,273 +22,131 @@ ---+- --all -
+-<<<<<<< .working -+all +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
- For a sequence seq and - unary function object f, - all returns true if - f returns true for every - element of seq. + For a sequence
seq
and + unary function objectf
, +all
returns true if +f
returns true for every + element ofseq
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Sequence, typename F > -typename result_of::all<Sequence,F>::type all( +typenameresult_of::all
<Sequence,F>::type all( Sequence const& seq, F f);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.40. Parameters
--======= -
Table 1.40. Parameters
-======= -Table 1.44. Parameters
-======= -Table 1.44. Parameters
-======= -Table 1.44. Parameters
-======= -Table 1.44. Parameters
-======= -Table 1.44. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.44. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - seq -
- - A model of Forward - Sequence, f(e) is a valid expression, convertible - to bool, for every - element e in seq -
+
+ ++
+seq
++ ++ A model of Forward + Sequence,
+f(e)
is a valid expression, convertible + tobool
, for every + elemente
inseq
++ + +The sequence to search -
- -- - f -
+
+ ++
+f
++ -A unary function object -
+ +
++ + +The search predicate -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-all(seq, f); +all
(seq, f);- Return type: bool + Return type:
bool
- Semantics: Returns true if and only - if f(e) - evaluates to true for every - element e in seq. + Semantics: Returns true if and only + if
f(e)
+ evaluates totrue
for every + elemente
inseq
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
- Linear. At most result_of::size<Sequence>::value comparisons. + Linear. At most
comparisons.
result_of::size
<Sequence>::value-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/query/all.hpp> #include <boost/fusion/include/all.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
struct odd { @@ -307,8 +157,8 @@ } }; ... -assert(all(make_vector(1,3), odd())); -assert(!all(make_vector(1,2), odd())); +assert(all
(make_vector
(1,3), odd())); +assert(!all
(make_vector
(1,2), odd()));
diff --git a/doc/html/fusion/algorithm/query/functions/any.html b/doc/html/fusion/algorithm/query/functions/any.html index 3ca3a419..d90e4edb 100644 --- a/doc/html/fusion/algorithm/query/functions/any.html +++ b/doc/html/fusion/algorithm/query/functions/any.html @@ -3,18 +3,10 @@ any -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,273 +22,131 @@ ---+- --any -
+-<<<<<<< .working -+any +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
- For a sequence seq and - unary function object f, - any returns true if - f returns true for at - least one element of seq. + For a sequence
seq
and + unary function objectf
, +any
returns true if +f
returns true for at + least one element ofseq
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Sequence, typename F > -typename result_of::any<Sequence,F>::type any( +typenameresult_of::any
<Sequence,F>::type any( Sequence const& seq, F f);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.39. Parameters
--======= -
Table 1.39. Parameters
-======= -Table 1.43. Parameters
-======= -Table 1.43. Parameters
-======= -Table 1.43. Parameters
-======= -Table 1.43. Parameters
-======= -Table 1.43. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.43. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - seq -
- - A model of Forward - Sequence, f(e) must be a valid expression, convertible - to bool, for each - element e in seq -
+
+ ++
+seq
++ ++ A model of Forward + Sequence,
+f(e)
must be a valid expression, convertible + tobool
, for each + elemente
inseq
++ + +The sequence to search -
- -- - f -
+
+ ++
+f
++ -A unary function object -
+ +
++ + +The search predicate -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 semantics
-any(seq, f); +any
(seq, f);- Return type: bool + Return type:
bool
- Semantics: Returns true if and only - if f(e) - evaluates to true for some - element e in seq. + Semantics: Returns true if and only + if
f(e)
+ evaluates totrue
for some + elemente
inseq
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
- Linear. At most result_of::size<Sequence>::value comparisons. + Linear. At most
comparisons.
result_of::size
<Sequence>::value-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/query/any.hpp> #include <boost/fusion/include/any.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
struct odd { @@ -307,8 +157,8 @@ } }; ... -assert(any(make_vector(1,2), odd())); -assert(!any(make_vector(2,4), odd())); +assert(any
(make_vector
(1,2), odd())); +assert(!any
(make_vector
(2,4), odd()));
diff --git a/doc/html/fusion/algorithm/query/functions/count.html b/doc/html/fusion/algorithm/query/functions/count.html index cc8291ec..df90ba60 100644 --- a/doc/html/fusion/algorithm/query/functions/count.html +++ b/doc/html/fusion/algorithm/query/functions/count.html @@ -3,18 +3,10 @@ count -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,272 +22,130 @@ ---+- --count -
+-<<<<<<< .working -+count +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
Returns the number of elements of a given type within a sequence.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Sequence, typename T > -typename result_of::count<Sequence, T>::type count( +typenameresult_of::count
<Sequence, T>::type count( Sequence const& seq, T const& t);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.44. Parameters
--======= -
Table 1.44. Parameters
-======= -Table 1.48. Parameters
-======= -Table 1.48. Parameters
-======= -Table 1.48. Parameters
-======= -Table 1.48. Parameters
-======= -Table 1.48. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.48. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - seq -
- - A model of Forward - Sequence, e == t - must be a valid expression, convertible to bool, - for each element e - in seq -
+
+ ++
+seq
++ ++ A model of Forward + Sequence,
+e == t
+ must be a valid expression, convertible tobool
, + for each elemente
+ inseq
++ + +The sequence to search -
- -- - T -
+
+ ++
+T
++ -Any type -
+ +
++ + +The type to count -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-count(seq, t); +count
(seq, t);- Return type: int + Return type:
int
- Semantics: Returns the number of elements - of type T and equal to - t in seq. + Semantics: Returns the number of elements + of type
T
and equal to +t
inseq
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
- Linear. At most result_of::size<Sequence>::value comparisons. + Linear. At most
comparisons.
result_of::size
<Sequence>::value-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/query/count.hpp> #include <boost/fusion/include/count.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
-const vector<double,int,int> vec(1.0,2,3); -assert(count(vec,2) == 1); +constvector
<double,int,int> vec(1.0,2,3); +assert(count
(vec,2) == 1);
diff --git a/doc/html/fusion/algorithm/query/functions/count_if.html b/doc/html/fusion/algorithm/query/functions/count_if.html index 43a53620..1a706368 100644 --- a/doc/html/fusion/algorithm/query/functions/count_if.html +++ b/doc/html/fusion/algorithm/query/functions/count_if.html @@ -3,18 +3,10 @@ count_if -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,271 +22,129 @@ ---+- --count_if -
+-<<<<<<< .working -+count_if +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
Returns the number of elements within a sequence with a type for which - a given unary function object evaluates to true. + a given unary function object evaluates to
true
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Sequence, typename F > -typename result_of::count_if<Sequence, F>::type count_if( +typenameresult_of::count_if
<Sequence, F>::type count_if( Sequence const& seq, F f);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.45. Parameters
--======= -
Table 1.45. Parameters
-======= -Table 1.49. Parameters
-======= -Table 1.49. Parameters
-======= -Table 1.49. Parameters
-======= -Table 1.49. Parameters
-======= -Table 1.49. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.49. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - seq -
- - A model of Forward - Sequence, f(e) is a valid expression, convertible - to bool, for each - element e in seq -
+
+ ++
+seq
++ ++ A model of Forward + Sequence,
+f(e)
is a valid expression, convertible + tobool
, for each + elemente
inseq
++ + +The sequence to search -
- -- - f -
+
+ ++
+f
++ -A unary function object -
+ +
++ + +The search predicate -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-count_if(seq, f) +count_if
(seq, f)- Return type: int + Return type:
int
- Semantics: Returns the number of elements - in seq where f evaluates to true. + Semantics: Returns the number of elements + in
seq
wheref
evaluates totrue
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
- Linear. At most result_of::size<Sequence>::value comparisons. + Linear. At most
comparisons.
result_of::size
<Sequence>::value-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/query/count_if.hpp> #include <boost/fusion/include/count_if.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
-const vector<int,int,int> vec(1,2,3); -assert(count_if(vec,odd()) == 2); +constvector
<int,int,int> vec(1,2,3); +assert(count_if
(vec,odd()) == 2);
diff --git a/doc/html/fusion/algorithm/query/functions/find.html b/doc/html/fusion/algorithm/query/functions/find.html index a06e949e..cead1370 100644 --- a/doc/html/fusion/algorithm/query/functions/find.html +++ b/doc/html/fusion/algorithm/query/functions/find.html @@ -3,18 +3,10 @@ find -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,73 +22,20 @@ ---+- --find -
+-<<<<<<< .working -+find +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
Finds the first element of a given type within a sequence.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename T, @@ -111,196 +50,107 @@ unspecified find(Sequence& seq);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.42. Parameters
--======= -
Table 1.42. Parameters
-======= -Table 1.46. Parameters
-======= -Table 1.46. Parameters
-======= -Table 1.46. Parameters
-======= -Table 1.46. Parameters
-======= -Table 1.46. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.46. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - seq -
- A model of Forward +
+ ++
+seq
++ -+ A model of Forward Sequence -
+ +
++ + +The sequence to search -
- -- - T -
+
+ ++
+T
++ -Any type -
+ +
++ + +The type to search for -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-find<T>(seq) +find
<T>(seq)- Return type: A model of the same iterator - category as the iterators of seq. + Return type: A model of the same iterator + category as the iterators of
seq
.- Semantics: Returns an iterator to the - first element of seq - of type T, or end(seq) if there is no such element. Equivalent - to find_if<boost::is_same<_, T> >(seq) + Semantics: Returns an iterator to the + first element of
seq
+ of typeT
, orif there is no such element. Equivalent + to
end
(seq)
find_if
<boost::is_same<_, T> >(seq)-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
- Linear. At most result_of::size<Sequence>::value comparisons. + Linear. At most
comparisons.
result_of::size
<Sequence>::value-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/query/find.hpp> #include <boost/fusion/include/find.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
-const vector<char,int> vec('a','0'); -assert(*find<int>(vec) == '0'); -assert(find<double>(vec) == end(vec)); +constvector
<char,int> vec('a','0'); +assert(*find
<int>(vec) == '0'); +assert(find
<double>(vec) ==end
(vec));
diff --git a/doc/html/fusion/algorithm/query/functions/find_if.html b/doc/html/fusion/algorithm/query/functions/find_if.html index 43562c9d..60096844 100644 --- a/doc/html/fusion/algorithm/query/functions/find_if.html +++ b/doc/html/fusion/algorithm/query/functions/find_if.html @@ -3,18 +3,10 @@ find_if -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,75 +22,22 @@ ---+- --find_if -
+-<<<<<<< .working -+find_if +
Finds the first element within a sequence with a type for which a given MPL - Lambda Expression evaluates to boost::mpl::true_. + Lambda Expression evaluates to
boost::mpl::true_
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename F, @@ -113,133 +52,94 @@ unspecified find_if(Sequence& seq);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.43. Parameters
--======= -
Table 1.43. Parameters
-======= -Table 1.47. Parameters
-======= -Table 1.47. Parameters
-======= -Table 1.47. Parameters
-======= -Table 1.47. Parameters
-======= -Table 1.47. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.47. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - seq -
- A model of Forward +
+ ++
+seq
++ -+ A model of Forward Sequence -
+ +
++ + +The sequence to search -
- -- - F -
+
+ ++
+F
++ -A unary MPL Lambda Expression -
+ +
++ + +The search predicate -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-find_if<F>(seq) +find_if
<F>(seq)- Return type: An iterator of the same - iterator category as the iterators of seq. + Return type: An iterator of the same + iterator category as the iterators of
seq
.- Semantics: Returns the first element - of seq for which MPL - Lambda Expression F - evaluates to boost::mpl::true_, or end(seq) + Semantics: Returns the first element + of
seq
for which MPL + Lambda ExpressionF
+ evaluates toboost::mpl::true_
, orif there is no such element.
end
(seq)-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
- Linear. At most result_of::size<Sequence>::value comparisons. + Linear. At most
comparisons.
result_of::size
<Sequence>::value
- @@ -250,37 +150,12 @@
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
-const vector<double,int> vec(1.0,2); -assert(*find_if<is_integral<mpl::_> >(vec) == 2); -assert(find_if<is_class<mpl::_> >(vec) == end(vec)); +constvector
<double,int> vec(1.0,2); +assert(*find_if
<is_integral<mpl::_> >(vec) == 2); +assert(find_if
<is_class<mpl::_> >(vec) ==end
(vec));
diff --git a/doc/html/fusion/algorithm/query/functions/none.html b/doc/html/fusion/algorithm/query/functions/none.html index 2b0b33ea..feeed992 100644 --- a/doc/html/fusion/algorithm/query/functions/none.html +++ b/doc/html/fusion/algorithm/query/functions/none.html @@ -3,18 +3,10 @@ none -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,273 +22,131 @@ ---+- --none -
+-<<<<<<< .working -+none +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
- For a sequence seq and - unary function object f, - none returns true if - f returns false for every - element of seq. + For a sequence
seq
and + unary function objectf
, +none
returns true if +f
returns false for every + element ofseq
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Sequence, typename F > -typename result_of::none<Sequence,F>::type none( +typenameresult_of::none
<Sequence,F>::type none( Sequence const& seq, F f);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.41. Parameters
--======= -
Table 1.41. Parameters
-======= -Table 1.45. Parameters
-======= -Table 1.45. Parameters
-======= -Table 1.45. Parameters
-======= -Table 1.45. Parameters
-======= -Table 1.45. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.45. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - seq -
- - A model of Forward - Sequence, f(e) is a valid expression, convertible - to bool, for every - element e in seq -
+
+ ++
+seq
++ ++ A model of Forward + Sequence,
+f(e)
is a valid expression, convertible + tobool
, for every + elemente
inseq
++ + +The sequence to search -
- -- - f -
+
+ ++
+f
++ -A unary function object -
+ +
++ + +The search predicate -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-none(seq, f); +none
(seq, f);- Return type: bool + Return type:
bool
- Semantics: Returns true if and only - if f(e) - evaluates to false for every - element e in seq. Result equivalent to !any(seq, f). + Semantics: Returns true if and only + if
f(e)
+ evaluates tofalse
for every + elemente
inseq
. Result equivalent to!any(seq, f)
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
- Linear. At most result_of::size<Sequence>::value comparisons. + Linear. At most
comparisons.
result_of::size
<Sequence>::value-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/query/none.hpp> #include <boost/fusion/include/none.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
struct odd { @@ -307,8 +157,8 @@ } }; ... -assert(none(make_vector(2,4), odd())); -assert(!none(make_vector(1,2), odd())); +assert(none
(make_vector
(2,4), odd())); +assert(!none
(make_vector
(1,2), odd()));
diff --git a/doc/html/fusion/algorithm/query/metafunctions.html b/doc/html/fusion/algorithm/query/metafunctions.html index 7fba2a24..9ebc4f86 100644 --- a/doc/html/fusion/algorithm/query/metafunctions.html +++ b/doc/html/fusion/algorithm/query/metafunctions.html @@ -1,16 +1,12 @@ - + Metafunctions -<<<<<<< .working - -======= ->>>>>>> .merge-right.r57125 - + - + @@ -26,13 +22,10 @@ --- - -++
- Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias + Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias SchwingerDistributed 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) diff --git a/doc/html/fusion/algorithm/query/metafunctions/all.html b/doc/html/fusion/algorithm/query/metafunctions/all.html index 35173954..82ce09bc 100644 --- a/doc/html/fusion/algorithm/query/metafunctions/all.html +++ b/doc/html/fusion/algorithm/query/metafunctions/all.html @@ -3,18 +3,10 @@
all -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,73 +22,20 @@ ---+- --all -
+-<<<<<<< .working -+all +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
- A metafunction returning the result type of all. + A metafunction returning the result type of
all
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Sequence, @@ -108,164 +47,98 @@ };-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.47. Parameters
--======= -
Table 1.47. Parameters
-======= -Table 1.51. Parameters
-======= -Table 1.51. Parameters
-======= -Table 1.51. Parameters
-======= -Table 1.51. Parameters
-======= -Table 1.51. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.51. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - Sequence -
- A model of Forward +
+ ++
+Sequence
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- -- - F -
- A model of unary Polymorphic +
+ ++
+F
++ -+ A model of unary Polymorphic Function Object -
+ +
++ + +Operation's argument -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-result_of::all<Sequence, F>::type +result_of::all
<Sequence, F>::type- Return type: bool. + Return type:
bool
.- Semantics: Returns the return type of - all - given a sequence of type Sequence - and a unary Polymorphic - Function Object of type F. - The return type is always bool. + Semantics: Returns the return type of +
all
+ given a sequence of typeSequence
+ and a unary Polymorphic + Function Object of typeF
. + The return type is alwaysbool
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/query/all.hpp> #include <boost/fusion/include/all.hpp> diff --git a/doc/html/fusion/algorithm/query/metafunctions/any.html b/doc/html/fusion/algorithm/query/metafunctions/any.html index 98f2f049..913292cd 100644 --- a/doc/html/fusion/algorithm/query/metafunctions/any.html +++ b/doc/html/fusion/algorithm/query/metafunctions/any.html @@ -3,18 +3,10 @@any -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,73 +22,20 @@ ---+- --any -
+-<<<<<<< .working -+any +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
- A metafunction returning the result type of any. + A metafunction returning the result type of
any
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Sequence, @@ -108,164 +47,98 @@ };-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.46. Parameters
--======= -
Table 1.46. Parameters
-======= -Table 1.50. Parameters
-======= -Table 1.50. Parameters
-======= -Table 1.50. Parameters
-======= -Table 1.50. Parameters
-======= -Table 1.50. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.50. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - Sequence -
- A model of Forward +
+ ++
+Sequence
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- -- - F -
- A model of unary Polymorphic +
+ ++
+F
++ -+ A model of unary Polymorphic Function Object -
+ +
++ + +Operation's argument -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-result_of::any<Sequence, F>::type +result_of::any
<Sequence, F>::type- Return type: bool. + Return type:
bool
.- Semantics: Returns the return type of - any - given a sequence of type Sequence - and a unary Polymorphic - Function Object of type F. - The return type is always bool. + Semantics: Returns the return type of +
any
+ given a sequence of typeSequence
+ and a unary Polymorphic + Function Object of typeF
. + The return type is alwaysbool
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/query/any.hpp> #include <boost/fusion/include/any.hpp> diff --git a/doc/html/fusion/algorithm/query/metafunctions/count.html b/doc/html/fusion/algorithm/query/metafunctions/count.html index e23981b7..3b504e96 100644 --- a/doc/html/fusion/algorithm/query/metafunctions/count.html +++ b/doc/html/fusion/algorithm/query/metafunctions/count.html @@ -3,18 +3,10 @@count -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,74 +22,21 @@ ---+- --count -
+-<<<<<<< .working -+count +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
- A metafunction that returns the result type of count + A metafunction that returns the result type of
count
given the sequence and search types.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Sequence, @@ -109,158 +48,94 @@ };-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.51. Parameters
--======= -
Table 1.51. Parameters
-======= -Table 1.55. Parameters
-======= -Table 1.55. Parameters
-======= -Table 1.55. Parameters
-======= -Table 1.55. Parameters
-======= -Table 1.55. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.55. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +heading Description -
- - - Sequence -
- A model of Forward +
+ ++
+Sequence
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- -- - T -
+
+ ++
+T
++ -Any type -
+ +
++ + +Operation's argument -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-result_of::count<T>::type +result_of::count
<T>::type- Return type: int. + Return type:
int
.- Semantics: Returns the return type of - count. The return type is always - int. + Semantics: Returns the return type of +
count
. The return type is always +int
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/query/count.hpp> #include <boost/fusion/include/count.hpp> diff --git a/doc/html/fusion/algorithm/query/metafunctions/count_if.html b/doc/html/fusion/algorithm/query/metafunctions/count_if.html index 3b91b3de..02f10dc0 100644 --- a/doc/html/fusion/algorithm/query/metafunctions/count_if.html +++ b/doc/html/fusion/algorithm/query/metafunctions/count_if.html @@ -3,18 +3,10 @@count_if -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,74 +22,21 @@ ---+- --count_if -
+-<<<<<<< .working -+count_if +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
- A metafunction that returns the result type of count_if + A metafunction that returns the result type of
count_if
given the sequence and predicate types.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Sequence, @@ -109,158 +48,94 @@ };-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.52. Parameters
--======= -
Table 1.52. Parameters
-======= -Table 1.56. Parameters
-======= -Table 1.56. Parameters
-======= -Table 1.56. Parameters
-======= -Table 1.56. Parameters
-======= -Table 1.56. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.56. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - Sequence -
- A model of Forward +
+ ++
+Sequence
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- -- - Pred -
+
+ ++
+Pred
++ -A unary function object -
+ +
++ + +Operation's argument -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-result_of::count_if<Sequence, Pred>::type +result_of::count_if
<Sequence, Pred>::type- Return type: int. + Return type:
int
.- Semantics: Returns the return type of - count_if. The return type is - always int. + Semantics: Returns the return type of +
count_if
. The return type is + alwaysint
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/query/count_if.hpp> #include <boost/fusion/include/count_if.hpp> diff --git a/doc/html/fusion/algorithm/query/metafunctions/find.html b/doc/html/fusion/algorithm/query/metafunctions/find.html index c4f18b27..6eeb4b49 100644 --- a/doc/html/fusion/algorithm/query/metafunctions/find.html +++ b/doc/html/fusion/algorithm/query/metafunctions/find.html @@ -3,18 +3,10 @@find -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,79 +22,21 @@ ---+- --find -
+-<<<<<<< .working -+find +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
-<<<<<<< .working - Returns the result type of find, - given the sequence and search types. -======= Returns the result type of
find
, given the sequence and search types. ->>>>>>> .merge-right.r57242-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Sequence, @@ -114,160 +48,96 @@ };-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.49. Parameters
--======= -
Table 1.49. Parameters
-======= -Table 1.53. Parameters
-======= -Table 1.53. Parameters
-======= -Table 1.53. Parameters
-======= -Table 1.53. Parameters
-======= -Table 1.53. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.53. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - Sequence -
- Model of Forward +
+ ++
+Sequence
++ -+ Model of Forward Sequence -
+ +
++ + +Operation's argument -
- -- - T -
+
+ ++
+T
++ -Any type -
+ +
++ + +Operation's argument -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-result_of::find<Sequence, T>::type +result_of::find
<Sequence, T>::type- Return type: A model of the same iterator - category as the iterators of Sequence. + Return type: A model of the same iterator + category as the iterators of
Sequence
.- Semantics: Returns an iterator to the - first element of type T - in Sequence, or result_of::end<Sequence>::type + Semantics: Returns an iterator to the + first element of type
T
+ inSequence
, orif there is no such element.
result_of::end
<Sequence>::type-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
- Linear, at most result_of::size<Sequence>::value comparisons. + Linear, at most
comparisons.
result_of::size
<Sequence>::value-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/query/find.hpp> #include <boost/fusion/include/find.hpp> diff --git a/doc/html/fusion/algorithm/query/metafunctions/find_if.html b/doc/html/fusion/algorithm/query/metafunctions/find_if.html index 61e3f40e..21546032 100644 --- a/doc/html/fusion/algorithm/query/metafunctions/find_if.html +++ b/doc/html/fusion/algorithm/query/metafunctions/find_if.html @@ -3,18 +3,10 @@find_if -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,79 +22,21 @@ ---+- --find_if -
+-<<<<<<< .working -+find_if +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
-<<<<<<< .working - Returns the result type of find_if - given the sequence and predicate types. -======= Returns the result type of
find_if
given the sequence and predicate types. ->>>>>>> .merge-right.r57242-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Sequence, @@ -114,161 +48,97 @@ };-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.50. Parameters
--======= -
Table 1.50. Parameters
-======= -Table 1.54. Parameters
-======= -Table 1.54. Parameters
-======= -Table 1.54. Parameters
-======= -Table 1.54. Parameters
-======= -Table 1.54. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.54. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - Sequence -
- A model of Forward +
+ ++
+Sequence
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- -- - Pred -
+
+ ++
+Pred
++ -A model of MPL Lambda Expression -
+ +
++ + +Operation's arguments -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-result_of::find_if<Sequence, Pred>::type +result_of::find_if
<Sequence, Pred>::type- Return type: A model of the same iterator - category as the iterators of Sequence. + Return type: A model of the same iterator + category as the iterators of
Sequence
.- Semantics: Returns an iterator to the - first element in Sequence - for which Pred evaluates - to true. Returns result_of::end<Sequence>::type if there is no such element. + Semantics: Returns an iterator to the + first element in
Sequence
+ for whichPred
evaluates + to true. Returnsif there is no such element.
result_of::end
<Sequence>::type-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
- Linear. At most result_of::size<Sequence>::value comparisons. + Linear. At most
comparisons.
result_of::size
<Sequence>::value-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/query/find_if.hpp> #include <boost/fusion/include/find_if.hpp> diff --git a/doc/html/fusion/algorithm/query/metafunctions/none.html b/doc/html/fusion/algorithm/query/metafunctions/none.html index b3387567..b5137049 100644 --- a/doc/html/fusion/algorithm/query/metafunctions/none.html +++ b/doc/html/fusion/algorithm/query/metafunctions/none.html @@ -3,18 +3,10 @@none -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,73 +22,20 @@ ---+- --none -
+-<<<<<<< .working -+none +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
- A metafunction returning the result type of none. + A metafunction returning the result type of
none
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Sequence, @@ -108,164 +47,98 @@ };-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.48. Parameters
--======= -
Table 1.48. Parameters
-======= -Table 1.52. Parameters
-======= -Table 1.52. Parameters
-======= -Table 1.52. Parameters
-======= -Table 1.52. Parameters
-======= -Table 1.52. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.52. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - Sequence -
- A model of Forward +
+ ++
+Sequence
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- -- - F -
- A model of unary Polymorphic +
+ ++
+F
++ -+ A model of unary Polymorphic Function Object -
+ +
++ + +Operation's argument -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-result_of::none<Sequence, F>::type +result_of::none
<Sequence, F>::type- Return type: bool. + Return type:
bool
.- Semantics: Returns the return type of - none - given a sequence of type Sequence - and a unary Polymorphic - Function Object of type F. - The return type is always bool. + Semantics: Returns the return type of +
none
+ given a sequence of typeSequence
+ and a unary Polymorphic + Function Object of typeF
. + The return type is alwaysbool
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/query/none.hpp> #include <boost/fusion/include/none.hpp> diff --git a/doc/html/fusion/algorithm/transformation.html b/doc/html/fusion/algorithm/transformation.html index f4073ebd..9a96ba1b 100644 --- a/doc/html/fusion/algorithm/transformation.html +++ b/doc/html/fusion/algorithm/transformation.html @@ -1,16 +1,12 @@ - +Transformation -<<<<<<< .working - -======= ->>>>>>> .merge-right.r57125 - + - + @@ -26,13 +22,10 @@ --- - -++
- Functions
- Metafunctions
@@ -42,35 +35,28 @@ by performing some sort of transformation. In reality the new sequences are views onto the data in the original sequences. -+
-<<<<<<< .working -
- Note +
As the transformation algorithms return views onto their input arguments, it is important that the lifetime of the input arguments is greater than the period during which you wish to use the results.
- - Header -
-=======- + Header
->>>>>>> .merge-right.r57125#include <boost/fusion/algorithm/transformation.hpp> #include <boost/fusion/include/transformation.hpp>
- Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias + Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias SchwingerDistributed 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) diff --git a/doc/html/fusion/algorithm/transformation/functions.html b/doc/html/fusion/algorithm/transformation/functions.html index 5ecc11dd..f961d36e 100644 --- a/doc/html/fusion/algorithm/transformation/functions.html +++ b/doc/html/fusion/algorithm/transformation/functions.html @@ -1,16 +1,12 @@
- +Functions -<<<<<<< .working - -======= ->>>>>>> .merge-right.r57125 - + - + @@ -26,13 +22,10 @@ ---+- --Functions -
++Functions +
- Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias + Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias SchwingerDistributed 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) diff --git a/doc/html/fusion/algorithm/transformation/functions/clear.html b/doc/html/fusion/algorithm/transformation/functions/clear.html index c7f6eca7..088bd15b 100644 --- a/doc/html/fusion/algorithm/transformation/functions/clear.html +++ b/doc/html/fusion/algorithm/transformation/functions/clear.html @@ -3,18 +3,10 @@
clear -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,254 +22,105 @@ ---+- --clear -
+-<<<<<<< .working -+clear +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
- clear returns an empty sequence. +
clear
returns an empty sequence.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synposis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synposis ->>>>>>> .merge-right.r57125
template< typename Sequence > -typename result_of::clear<Sequence const>::type clear(Sequence const& seq); +typenameresult_of::clear
<Sequence const>::type clear(Sequence const& seq);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.62. Parameters
--======= -
Table 1.62. Parameters
-======= -Table 1.66. Parameters
-======= -Table 1.66. Parameters
-======= -Table 1.66. Parameters
-======= -Table 1.66. Parameters
-======= -Table 1.66. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.66. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- -- - seq -
- A model of Forward +
+ ++
+seq
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-clear(seq); +clear
(seq);- Return type: A model of Forward + Return type: A model of Forward Sequence.
- Expression Semantics: Returns a sequence + Expression Semantics: Returns a sequence with no elements.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/transformation/clear.hpp> #include <boost/fusion/include/clear.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
-assert(clear(make_vector(1,2,3)) == make_vector()); +assert(clear
(make_vector
(1,2,3)) ==make_vector
());
diff --git a/doc/html/fusion/algorithm/transformation/functions/erase.html b/doc/html/fusion/algorithm/transformation/functions/erase.html index b94635fa..1bb329a3 100644 --- a/doc/html/fusion/algorithm/transformation/functions/erase.html +++ b/doc/html/fusion/algorithm/transformation/functions/erase.html @@ -3,18 +3,10 @@ erase -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,80 +22,27 @@ ---+- --erase -
+-<<<<<<< .working -+erase +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
Returns a new sequence, containing all the elements of the original except those at a specified iterator, or between two iterators.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synposis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synposis ->>>>>>> .merge-right.r57125
template< typename Sequence, typename First > -typename result_of::erase<Sequence const, First>::type erase( +typenameresult_of::erase
<Sequence const, First>::type erase( Sequence const& seq, First const& it1); template< @@ -111,118 +50,102 @@ typename First, typename Last > -typename result_of::erase<Sequence const, First, Last>::type erase( +typenameresult_of::erase
<Sequence const, First, Last>::type erase( Sequence const& seq, First const& it1, Last const& it2);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.63. Parameters
--======= -
Table 1.63. Parameters
-======= -Table 1.67. Parameters
-======= -Table 1.67. Parameters
-======= -Table 1.67. Parameters
-======= -Table 1.67. Parameters
-======= -Table 1.67. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.67. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameters -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - seq -
- A model of Forward +
+ ++
+seq
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- - - it1 -
- A model of Forward +
+ ++
+it1
++ -+ A model of Forward Iterator -
+ + + - Iterator into seq -
+ + Iterator into
+seq
+- -- - it2 -
- A model of Forward +
+ ++
+it2
++ -+ A model of Forward Iterator -
+ + + - Iterator into seq - after it1 -
+ + Iterator into
+seq
+ afterit1
+- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-erase(seq, pos); +erase
(seq, pos);-<<<<<<< .working - Return type: A model of Forward - Sequence. -======= Return type: ->>>>>>> .merge-right.r57242
- @@ -237,20 +160,14 @@
- Semantics: Returns a new sequence, containing - all the elements of seq - except the element at pos. + Semantics: Returns a new sequence, containing + all the elements of
-seq
+ except the element atpos
.erase(seq, first, last); +erase
(seq, first, last);-<<<<<<< .working - Return type: A model of Forward - Sequence. -======= Return type: ->>>>>>> .merge-right.r57242
- @@ -265,106 +182,31 @@
- Semantics: Returns a new sequence, with - all the elements of seq, - in their original order, except those in the range [first,last). + Semantics: Returns a new sequence, with + all the elements of
seq
, + in their original order, except those in the range [first
,last
).-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant. Returns a view which is lazily evaluated.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/transformation/erase.hpp> #include <boost/fusion/include/erase.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
-const vector<int, double, char> vec(1, 2.0, 'c'); -assert(erase(vec, next(begin(vec))) == make_vector(1, 'c')); -assert(erase(vec, next(begin(vec)), end(vec)) == make_vector(1)); +constvector
<int, double, char> vec(1, 2.0, 'c'); +assert(erase
(vec,next
(begin
(vec))) ==make_vector
(1, 'c')); +assert(erase
(vec,next
(begin
(vec)),end
(vec)) ==make_vector
(1));
diff --git a/doc/html/fusion/algorithm/transformation/functions/erase_key.html b/doc/html/fusion/algorithm/transformation/functions/erase_key.html index 7789369c..0365dfcf 100644 --- a/doc/html/fusion/algorithm/transformation/functions/erase_key.html +++ b/doc/html/fusion/algorithm/transformation/functions/erase_key.html @@ -3,18 +3,10 @@ erase_key -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,88 +22,25 @@ ---+- --erase_key -
+-<<<<<<< .working -+erase_key +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
-<<<<<<< .working - For an Associative - Sequence seq, - returns a Forward - Sequence containing all the elements of the original except those - with a given key. -======= For an associative] Forward Sequence
seq
, returns a associative] Forward Sequence containing all the elements of the original except those with a given key. ->>>>>>> .merge-right.r57242-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synposis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synposis ->>>>>>> .merge-right.r57125
template< typename Key, @@ -120,59 +49,32 @@ typenameresult_of::erase_key
<Sequence const, Key>::type erase_key(Sequence const& seq);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.64. Parameters
--======= -
Table 1.64. Parameters
-======= -Table 1.68. Parameters
-======= -Table 1.68. Parameters
-======= -Table 1.68. Parameters
-======= -Table 1.68. Parameters
-======= -Table 1.68. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.68. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
-<<<<<<< .working - - - seq -
- A model of Associative -=======
-
seq
@@ -182,145 +84,71 @@A model of Forward Sequence and Associative ->>>>>>> .merge-right.r57242 Sequence -
+ +
++ + +Operation's argument -
- -- - Key -
+
+ ++
+Key
++ -Any type -
+ +
++ + +Key to erase -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-erase_key<Key>(seq); +erase_key
<Key>(seq);- Return type: A model of Forward + Return type: A model of Forward Sequence and Associative Sequence.
- Semantics: Returns a new sequence, containing - all the elements of seq, - except those with key Key. + Semantics: Returns a new sequence, containing + all the elements of
seq
, + except those with keyKey
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant. Returns a view which is lazily evaluated.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/transformation/erase_key.hpp> #include <boost/fusion/include/erase_key.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
-assert(erase_key<int>(make_map<int, long>('a', 'b')) == make_map<long>('b')); +assert(erase_key
<int>(make_map
<int, long>('a', 'b')) ==make_map
<long>('b'));
diff --git a/doc/html/fusion/algorithm/transformation/functions/filter.html b/doc/html/fusion/algorithm/transformation/functions/filter.html index 97dd8c79..e567f308 100644 --- a/doc/html/fusion/algorithm/transformation/functions/filter.html +++ b/doc/html/fusion/algorithm/transformation/functions/filter.html @@ -3,18 +3,10 @@ filter -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,174 +22,101 @@ ---+- --filter -
+-<<<<<<< .working -+filter +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
For a given sequence, filter returns a new sequences containing only the elements of a specified type.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename T, typename Sequence > -typename result_of::filter<Sequence const, T>::type filter(Sequence const& seq); +typenameresult_of::filter
<Sequence const, T>::type filter(Sequence const& seq);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.53. Parameters
--======= -
Table 1.53. Parameters
-======= -Table 1.57. Parameters
-======= -Table 1.57. Parameters
-======= -Table 1.57. Parameters
-======= -Table 1.57. Parameters
-======= -Table 1.57. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.57. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - seq -
- A model of Forward +
+ ++
+seq
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- -- - T -
+
+ ++
+T
++ -Any type -
+ +
++ + +The type to retain -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-filter<T>(seq); +filter
<T>(seq);-<<<<<<< .working - Return type: A model of Forward - Sequence. -======= Return type: ->>>>>>> .merge-right.r57242
- @@ -212,106 +131,31 @@
- Semantics: Returns a sequence containing - all the elements of seq - of type T. Equivalent - to filter_if<boost::same_type<_, T> >(seq). + Semantics: Returns a sequence containing + all the elements of
seq
+ of typeT
. Equivalent + to.
filter_if
<boost::same_type<_, T> >(seq)-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant. Returns a view which is lazily evaluated.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/transformation/filter.hpp> #include <boost/fusion/include/filter.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
-const vector<int,int,long,long> vec(1,2,3,4); -assert(filter<int>(vec) == make_vector(1,2)); +constvector
<int,int,long,long> vec(1,2,3,4); +assert(filter
<int>(vec) ==make_vector
(1,2));
diff --git a/doc/html/fusion/algorithm/transformation/functions/filter_if.html b/doc/html/fusion/algorithm/transformation/functions/filter_if.html index 457391ca..b0cf3d3c 100644 --- a/doc/html/fusion/algorithm/transformation/functions/filter_if.html +++ b/doc/html/fusion/algorithm/transformation/functions/filter_if.html @@ -3,18 +3,10 @@ filter_if -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,176 +22,103 @@ ---+- --filter_if -
+-<<<<<<< .working -+filter_if +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
- For a given sequence, filter_if returns a new sequences + For a given sequence,
filter_if
returns a new sequences containing only the elements with types for which a given MPL - Lambda Expression evaluates to boost::mpl::true_. + Lambda Expression evaluates toboost::mpl::true_
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Pred, typename Sequence > -typename result_of::filter_if<Sequence const, Pred>::type filter_if(Sequence const& seq); +typenameresult_of::filter_if
<Sequence const, Pred>::type filter_if(Sequence const& seq);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.54. Parameters
--======= -
Table 1.54. Parameters
-======= -Table 1.58. Parameters
-======= -Table 1.58. Parameters
-======= -Table 1.58. Parameters
-======= -Table 1.58. Parameters
-======= -Table 1.58. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.58. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - seq -
- A model of Forward +
+ ++
+seq
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- -- - Pred -
+
+ ++
+Pred
++ -A unary MPL Lambda Expression -
+ +
++ + +The predicate to filter by -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-filter_if<Pred>(seq); +filter_if
<Pred>(seq);-<<<<<<< .working - Return type: A model of Forward - Sequence. -======= Return type: ->>>>>>> .merge-right.r57242
- @@ -214,107 +133,32 @@
- Semantics: Returns a sequence containing - all the elements of seq - with types for which Pred - evaluates to boost::mpl::true_. The order of the retained elements + Semantics: Returns a sequence containing + all the elements of
seq
+ with types for whichPred
+ evaluates toboost::mpl::true_
. The order of the retained elements is the same as in the original sequence.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant. Returns a view which is lazily evaluated.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/transformation/filter_if.hpp> #include <boost/fusion/include/filter_if.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
-const vector<int,int,double,double> vec(1,2,3.0,4.0); -assert(filter_if<is_integral<mpl::_> >(vec) == make_vector(1,2)); +constvector
<int,int,double,double> vec(1,2,3.0,4.0); +assert(filter_if
<is_integral<mpl::_> >(vec) ==make_vector
(1,2));
diff --git a/doc/html/fusion/algorithm/transformation/functions/insert.html b/doc/html/fusion/algorithm/transformation/functions/insert.html index 5c40459b..b50ea27f 100644 --- a/doc/html/fusion/algorithm/transformation/functions/insert.html +++ b/doc/html/fusion/algorithm/transformation/functions/insert.html @@ -3,18 +3,10 @@ insert -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,74 +22,21 @@ ---+- --insert -
+-<<<<<<< .working -+insert +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
Returns a new sequence with all the elements of the original, an a new element inserted the position described by a given iterator.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synposis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synposis ->>>>>>> .merge-right.r57125
template< typename Sequence, @@ -108,111 +47,96 @@ Sequence const& seq, Pos const& pos, T const& t);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.65. Parameters
--======= -
Table 1.65. Parameters
-======= -Table 1.69. Parameters
-======= -Table 1.69. Parameters
-======= -Table 1.69. Parameters
-======= -Table 1.69. Parameters
-======= -Table 1.69. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.69. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - seq -
- A model of Forward +
+ ++
+seq
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- - - pos -
- A model of Forward +
+ ++
+pos
++ -+ A model of Forward Iterator -
+ +
++ + +The position to insert at -
- -- - t -
+
+ ++
+t
++ -Any type -
+ +
++ + +The value to insert -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-insert(seq, p, t); +insert
(seq, p, t);-<<<<<<< .working - Return type: A model of Forward - Sequence. -======= Return type: ->>>>>>> .merge-right.r57242
- @@ -227,107 +151,32 @@
- Semantics: Returns a new sequence, containing - all the elements of seq, + Semantics: Returns a new sequence, containing + all the elements of
seq
, in their original order, and a new element with the type and value of - t inserted at iterator - pos. +t
inserted at iterator +pos
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant. Returns a view which is lazily evaluated.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/transformation/insert.hpp> #include <boost/fusion/include/insert.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
-const vector<int,int> vec(1,2); -assert(insert(vec, next(begin(vec)), 3) == make_vector(1,3,2)); +constvector
<int,int> vec(1,2); +assert(insert
(vec,next
(begin
(vec)), 3) ==make_vector
(1,3,2));
diff --git a/doc/html/fusion/algorithm/transformation/functions/insert_range.html b/doc/html/fusion/algorithm/transformation/functions/insert_range.html index a3809bf0..c1c5b5a2 100644 --- a/doc/html/fusion/algorithm/transformation/functions/insert_range.html +++ b/doc/html/fusion/algorithm/transformation/functions/insert_range.html @@ -3,18 +3,10 @@ insert_range -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,191 +22,122 @@ ---+- --insert_range -
+-<<<<<<< .working -+insert_range +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
Returns a new sequence with another sequence inserted at a specified iterator.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synposis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synposis ->>>>>>> .merge-right.r57125
template< typename Sequence, typename Pos, typename Range > -typename result_of::insert_range<Sequence const, Pos, Range>::type insert_range( +typenameresult_of::insert_range
<Sequence const, Pos, Range>::type insert_range( Sequence const& seq, Pos const& pos, Range const& range);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.66. Parameters
--======= -
Table 1.66. Parameters
-======= -Table 1.70. Parameters
-======= -Table 1.70. Parameters
-======= -Table 1.70. Parameters
-======= -Table 1.70. Parameters
-======= -Table 1.70. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.70. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - seq -
- A model of Forward +
+ ++
+seq
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- - - pos -
- A model of Forward +
+ ++
+pos
++ -+ A model of Forward Iterator -
+ +
++ + +The position to insert at -
- -- - range -
- A model of Forward +
+ ++
+range
++ -+ A model of Forward Sequence -
+ +
++ + +Range to insert -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-insert(seq, pos, range); +insert
(seq, pos, range);-<<<<<<< .working - Return type: A model of Forward - Sequence. -======= Return type: ->>>>>>> .merge-right.r57242
- @@ -229,107 +152,32 @@
- Semantics: Returns a new sequence, containing - all the elements of seq, - and the elements of range - inserted at iterator pos. + Semantics: Returns a new sequence, containing + all the elements of
seq
, + and the elements ofrange
+ inserted at iteratorpos
. All elements retaining their ordering from the orignal sequences.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant. Returns a view which is lazily evaluated.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/transformation/insert_range.hpp> #include <boost/fusion/include/insert_range.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
-const vector<int,int> vec(1,2); -assert(insert_range(vec, next(begin(vec)), make_vector(3,4)) == make_vector(1,3,4,2)); +constvector
<int,int> vec(1,2); +assert(insert_range
(vec,next
(begin
(vec)),make_vector
(3,4)) ==make_vector
(1,3,4,2));
diff --git a/doc/html/fusion/algorithm/transformation/functions/join.html b/doc/html/fusion/algorithm/transformation/functions/join.html index ff8dca16..db653f21 100644 --- a/doc/html/fusion/algorithm/transformation/functions/join.html +++ b/doc/html/fusion/algorithm/transformation/functions/join.html @@ -3,18 +3,10 @@ join -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,175 +22,101 @@ ---+- --join -
+-<<<<<<< .working -+join +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
Takes 2 sequences and returns a sequence containing the elements of the first followed by the elements of the second.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename LhSequence, typename RhSequence> -typename result_of::join<LhSequence, RhSequence>::type join(LhSequence const& lhs, RhSequence const& rhs); +typenameresult_of::join
<LhSequence, RhSequence>::type join(LhSequence const& lhs, RhSequence const& rhs);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.67. Parameters
--======= -
Table 1.67. Parameters
-======= -Table 1.71. Parameters
-======= -Table 1.71. Parameters
-======= -Table 1.71. Parameters
-======= -Table 1.71. Parameters
-======= -Table 1.71. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.71. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - lhs -
- A model of Forward +
+ ++
+lhs
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- -- - rhs -
- A model of Forward +
+ ++
+rhs
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-join(lhs, rhs); +join
(lhs, rhs);-<<<<<<< .working - Return type: A model of Forward - Sequence. -======= Return type: ->>>>>>> .merge-right.r57242
- @@ -214,107 +132,32 @@
- Semantics: Returns a sequence containing - all the elements of lhs - followed by all the elements of rhs. + Semantics: Returns a sequence containing + all the elements of
lhs
+ followed by all the elements ofrhs
. The order of the elements is preserved.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant. Returns a view which is lazily evaluated.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/transformation/join.hpp> #include <boost/fusion/include/join.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
-vector<int,char> v1(1, 'a'); -vector<int,char> v2(2, 'b'); -assert(join(v1, v2) == make_vector(1,'a',2,'b')); +vector
<int,char> v1(1, 'a'); +vector
<int,char> v2(2, 'b'); +assert(join
(v1, v2) ==make_vector
(1,'a',2,'b'));
diff --git a/doc/html/fusion/algorithm/transformation/functions/pop_back.html b/doc/html/fusion/algorithm/transformation/functions/pop_back.html index 7b9e0958..71d16629 100644 --- a/doc/html/fusion/algorithm/transformation/functions/pop_back.html +++ b/doc/html/fusion/algorithm/transformation/functions/pop_back.html @@ -3,18 +3,10 @@ pop_back -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,159 +22,80 @@ ---+- --pop_back -
+-<<<<<<< .working -+pop_back +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
Returns a new sequence, with the last element of the original removed.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Sequence > -typename result_of::pop_back<Sequence const>::type pop_back(Sequence const& seq); +typenameresult_of::pop_back
<Sequence const>::type pop_back(Sequence const& seq);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.69. Parameters
--======= -
Table 1.69. Parameters
-======= -Table 1.73. Parameters
-======= -Table 1.73. Parameters
-======= -Table 1.73. Parameters
-======= -Table 1.73. Parameters
-======= -Table 1.73. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.73. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- -- - seq -
- A model of Forward +
+ ++
+seq
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-pop_back(seq); +pop_back
(seq);-<<<<<<< .working - Return type: A model of Forward - Sequence. -======= Return type: ->>>>>>> .merge-right.r57242
- @@ -197,105 +110,30 @@
- Semantics: Returns a new sequence containing - all the elements of seq, + Semantics: Returns a new sequence containing + all the elements of
seq
, except the last element. The elements in the new sequence are in the - same order as they were in seq. + same order as they were inseq
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant. Returns a view which is lazily evaluated.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/transformation/pop_back.hpp> #include <boost/fusion/include/pop_back.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
-assert(___pop_back__(make_vector(1,2,3)) == make_vector(1,2)); +assert(___pop_back__(make_vector
(1,2,3)) ==make_vector
(1,2));
diff --git a/doc/html/fusion/algorithm/transformation/functions/pop_front.html b/doc/html/fusion/algorithm/transformation/functions/pop_front.html index 7007e552..5d32ce45 100644 --- a/doc/html/fusion/algorithm/transformation/functions/pop_front.html +++ b/doc/html/fusion/algorithm/transformation/functions/pop_front.html @@ -3,18 +3,10 @@ pop_front -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,159 +22,80 @@ ---+- --pop_front -
+-<<<<<<< .working -+pop_front +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
Returns a new sequence, with the first element of the original removed.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Sequence > -typename result_of::pop_front<Sequence const>::type pop_front(Sequence const& seq); +typenameresult_of::pop_front
<Sequence const>::type pop_front(Sequence const& seq);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.70. Parameters
--======= -
Table 1.70. Parameters
-======= -Table 1.74. Parameters
-======= -Table 1.74. Parameters
-======= -Table 1.74. Parameters
-======= -Table 1.74. Parameters
-======= -Table 1.74. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.74. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- -- - seq -
- A model of Forward +
+ ++
+seq
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-pop_front(seq); +pop_front
(seq);-<<<<<<< .working - Return type: A model of Forward - Sequence. -======= Return type: ->>>>>>> .merge-right.r57242
- @@ -197,105 +110,30 @@
- Semantics: Returns a new sequence containing - all the elements of seq, + Semantics: Returns a new sequence containing + all the elements of
seq
, except the first element. The elements in the new sequence are in the - same order as they were in seq. + same order as they were inseq
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant. Returns a view which is lazily evaluated.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/transformation/pop_front.hpp> #include <boost/fusion/include/pop_front.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
-assert(pop_front(make_vector(1,2,3)) == make_vector(2,3)); +assert(pop_front
(make_vector
(1,2,3)) ==make_vector
(2,3));
diff --git a/doc/html/fusion/algorithm/transformation/functions/push_back.html b/doc/html/fusion/algorithm/transformation/functions/push_back.html index 73868212..218ea784 100644 --- a/doc/html/fusion/algorithm/transformation/functions/push_back.html +++ b/doc/html/fusion/algorithm/transformation/functions/push_back.html @@ -3,18 +3,10 @@ push_back -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,174 +22,101 @@ ---+- --push_back -
+-<<<<<<< .working -+push_back +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
Returns a new sequence with an element added at the end.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Sequence, typename T > -typename result_of::push_back<Sequence, T>::type push_back( +typenameresult_of::push_back
<Sequence, T>::type push_back( Sequence const& seq, T const& t);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.71. Parameters
--======= -
Table 1.71. Parameters
-======= -Table 1.75. Parameters
-======= -Table 1.75. Parameters
-======= -Table 1.75. Parameters
-======= -Table 1.75. Parameters
-======= -Table 1.75. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.75. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - seq -
- A model of Forward +
+ ++
+seq
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- -- - t -
+
+ ++
+t
++ -Any type -
+ +
++ + +The value to add to the end -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-push_back(seq, t); +push_back
(seq, t);-<<<<<<< .working - Return type: A model of Forward - Sequence. -======= Return type: ->>>>>>> .merge-right.r57242
- @@ -212,105 +131,30 @@
- Semantics: Returns a new sequence, containing - all the elements of seq, - and new element t appended - to the end. The elements are in the same order as they were in seq. + Semantics: Returns a new sequence, containing + all the elements of
seq
, + and new elementt
appended + to the end. The elements are in the same order as they were inseq
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant. Returns a view which is lazily evaluated.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/transformation/push_back.hpp> #include <boost/fusion/include/push_back.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
-assert(push_back(make_vector(1,2,3),4) == make_vector(1,2,3,4)); +assert(push_back
(make_vector
(1,2,3),4) ==make_vector
(1,2,3,4));
diff --git a/doc/html/fusion/algorithm/transformation/functions/push_front.html b/doc/html/fusion/algorithm/transformation/functions/push_front.html index a33eb54a..b3e628f9 100644 --- a/doc/html/fusion/algorithm/transformation/functions/push_front.html +++ b/doc/html/fusion/algorithm/transformation/functions/push_front.html @@ -3,18 +3,10 @@ push_front -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,174 +22,101 @@ ---+- --push_front -
+-<<<<<<< .working -+push_front +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
Returns a new sequence with an element added at the beginning.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Sequence, typename T > -typename result_of::push_front<Sequence, T>::type push_front( +typenameresult_of::push_front
<Sequence, T>::type push_front( Sequence const& seq, T const& t);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.72. Parameters
--======= -
Table 1.72. Parameters
-======= -Table 1.76. Parameters
-======= -Table 1.76. Parameters
-======= -Table 1.76. Parameters
-======= -Table 1.76. Parameters
-======= -Table 1.76. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.76. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - seq -
- A model of Forward +
+ ++
+seq
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- -- - t -
+
+ ++
+t
++ -Any type -
+ +
++ + +The value to add to the beginning -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-push_back(seq, t); +push_back
(seq, t);-<<<<<<< .working - Return type: A model of Forward - Sequence. -======= Return type: ->>>>>>> .merge-right.r57242
- @@ -212,106 +131,31 @@
- Semantics: Returns a new sequence, containing - all the elements of seq, - and new element t appended + Semantics: Returns a new sequence, containing + all the elements of
seq
, + and new elementt
appended to the beginning. The elements are in the same order as they were in - seq. +seq
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant. Returns a view which is lazily evaluated.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/transformation/push_front.hpp> #include <boost/fusion/include/push_front.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
-assert(push_front(make_vector(1,2,3),0) == make_vector(0,1,2,3)); +assert(push_front
(make_vector
(1,2,3),0) ==make_vector
(0,1,2,3));
diff --git a/doc/html/fusion/algorithm/transformation/functions/remove.html b/doc/html/fusion/algorithm/transformation/functions/remove.html index 5a6a026a..0a2f02ea 100644 --- a/doc/html/fusion/algorithm/transformation/functions/remove.html +++ b/doc/html/fusion/algorithm/transformation/functions/remove.html @@ -3,18 +3,10 @@ remove -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,174 +22,101 @@ ---+- --remove -
+-<<<<<<< .working -+remove +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
Returns a new sequence, with all the elements of the original sequence, except those of a given type.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename T, typename Sequence > -typename result_of::remove<Sequence const, T>::type replace(Sequence const& seq); +typenameresult_of::remove
<Sequence const, T>::type replace(Sequence const& seq);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.59. Parameters
--======= -
Table 1.59. Parameters
-======= -Table 1.63. Parameters
-======= -Table 1.63. Parameters
-======= -Table 1.63. Parameters
-======= -Table 1.63. Parameters
-======= -Table 1.63. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.63. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - seq -
- A model of Forward +
+ ++
+seq
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- -- - T -
+
+ ++
+T
++ -Any type -
+ +
++ + +Type to remove -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-remove<T>(seq); +remove
<T>(seq);-<<<<<<< .working - Return type: A model of Forward - Sequence. -======= Return type: ->>>>>>> .merge-right.r57242
- @@ -212,106 +131,31 @@
- Semantics: Returns a new sequence, containing - all the elements of seq, - in their original order, except those of type T. - Equivalent to remove_if<boost::is_same<_,T> >(seq). + Semantics: Returns a new sequence, containing + all the elements of
seq
, + in their original order, except those of typeT
. + Equivalent to.
remove_if
<boost::is_same<_,T> >(seq)-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant. Returns a view which is lazily evaluated.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/transformation/remove.hpp> #include <boost/fusion/include/remove.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
-const vector<int,double> vec(1,2.0); -assert(remove<double>(vec) == make_vector(1)); +constvector
<int,double> vec(1,2.0); +assert(remove
<double>(vec) ==make_vector
(1));
diff --git a/doc/html/fusion/algorithm/transformation/functions/remove_if.html b/doc/html/fusion/algorithm/transformation/functions/remove_if.html index f17d7697..22911110 100644 --- a/doc/html/fusion/algorithm/transformation/functions/remove_if.html +++ b/doc/html/fusion/algorithm/transformation/functions/remove_if.html @@ -3,18 +3,10 @@ remove_if -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,175 +22,102 @@ ---+- --remove_if -
+-<<<<<<< .working -+remove_if +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
Returns a new sequence, containing all the elements of the original except - those where a given unary function object evaluates to true. + those where a given unary function object evaluates to
true
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Pred, typename Sequence > -typename result_of::remove_if<Sequence const, Pred>::type remove_if(Sequence const& seq); +typenameresult_of::remove_if
<Sequence const, Pred>::type remove_if(Sequence const& seq);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.60. Parameters
--======= -
Table 1.60. Parameters
-======= -Table 1.64. Parameters
-======= -Table 1.64. Parameters
-======= -Table 1.64. Parameters
-======= -Table 1.64. Parameters
-======= -Table 1.64. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.64. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - seq -
- A model of Forward +
+ ++
+seq
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- -- - Pred -
+
+ ++
+Pred
++ -A model of unary MPL Lambda Expression -
+ +
++ + +Removal predicate -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-remove_if<Pred>(seq); +remove_if
<Pred>(seq);-<<<<<<< .working - Return type: A model of Forward - Sequence. -======= Return type: ->>>>>>> .merge-right.r57242
- @@ -213,107 +132,32 @@
- Semantics: Returns a new sequence, containing - all the elements of seq, + Semantics: Returns a new sequence, containing + all the elements of
seq
, in their original order, except those elements with types for which - Pred evaluates to boost::mpl::true_. Equivalent to filter<boost::mpl::not_<Pred> - >(seq). +Pred
evaluates toboost::mpl::true_
. Equivalent to.
filter
<boost::mpl::not_<Pred> + >(seq)-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant. Returns a view which is lazily evaluated.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/transformation/remove_if.hpp> #include <boost/fusion/include/remove_if.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
-const vector<int,double> vec(1,2.0); -assert(remove_if<is_floating_point<mpl::_> >(vec) == make_vector(1)); +constvector
<int,double> vec(1,2.0); +assert(remove_if
<is_floating_point<mpl::_> >(vec) ==make_vector
(1));
diff --git a/doc/html/fusion/algorithm/transformation/functions/replace.html b/doc/html/fusion/algorithm/transformation/functions/replace.html index 3dd9ed7c..2591cd69 100644 --- a/doc/html/fusion/algorithm/transformation/functions/replace.html +++ b/doc/html/fusion/algorithm/transformation/functions/replace.html @@ -3,18 +3,10 @@ replace -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,287 +22,150 @@ ---+- --replace -
+-<<<<<<< .working -+replace +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
Replaces each value within a sequence of a given type and value with a new value.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Sequence, typename T > -typename result_of::replace<Sequence const, T>::type replace( +typenameresult_of::replace
<Sequence const, T>::type replace( Sequence const& seq, T const& old_value, T const& new_value);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.57. Parameters
--======= -
Table 1.57. Parameters
-======= -Table 1.61. Parameters
-======= -Table 1.61. Parameters
-======= -Table 1.61. Parameters
-======= -Table 1.61. Parameters
-======= -Table 1.61. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.61. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - seq -
- - A model of Forward - Sequence, e == old_value - is a valid expression, convertible to bool, - for each element e - in seq with type - convertible to T -
+
+ ++
+seq
++ ++ A model of Forward + Sequence,
+e == old_value
+ is a valid expression, convertible tobool
, + for each elemente
+ inseq
with type + convertible toT
++ + +Operation's argument -
- - - old_value -
+
+ ++
+old_value
++ -Any type -
+ +
++ + +Value to replace -
- -- - new_value -
+
+ ++
+new_value
++ -Any type -
+ +
++ + +Replacement value -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-replace(seq, old_value, new_value); +replace
(seq, old_value, new_value);- Return type: A model of Forward + Return type: A model of Forward Sequence.
- Semantics: Returns a new sequence with - all the values of seq - with new_value assigned - to elements with the same type and equal to old_value. + Semantics: Returns a new sequence with + all the values of
seq
+ withnew_value
assigned + to elements with the same type and equal toold_value
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant. Returns a view which is lazily evaluated.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/transformation/replace.hpp> #include <boost/fusion/include/replace.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
-assert(replace(make_vector(1,2), 2, 3) == make_vector(1,3)); +assert(replace
(make_vector
(1,2), 2, 3) ==make_vector
(1,3));
diff --git a/doc/html/fusion/algorithm/transformation/functions/replace_if.html b/doc/html/fusion/algorithm/transformation/functions/replace_if.html index f8c42f47..49b63efe 100644 --- a/doc/html/fusion/algorithm/transformation/functions/replace_if.html +++ b/doc/html/fusion/algorithm/transformation/functions/replace_if.html @@ -3,18 +3,10 @@ replace_if -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,285 +22,148 @@ ---+- --replace_if -
+-<<<<<<< .working -+replace_if +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
Replaces each element of a given sequence for which an unary function - object evaluates to true + object evaluates to
true
replaced with a new value.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Sequence, typename F, typename T> -typename result_of::replace_if<Sequence const, F, T>::type replace_if( +typenameresult_of::replace_if
<Sequence const, F, T>::type replace_if( Sequence const& seq, F f, T const& new_value);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.58. Parameters
--======= -
Table 1.58. Parameters
-======= -Table 1.62. Parameters
-======= -Table 1.62. Parameters
-======= -Table 1.62. Parameters
-======= -Table 1.62. Parameters
-======= -Table 1.62. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.62. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - seq -
- A model of Forward +
+ ++
+seq
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- - - f -
- - A function object for which f(e) is a valid expression, convertible - to bool, for each - element e in seq -
+
+ ++
+f
++ ++ A function object for which
+f(e)
is a valid expression, convertible + tobool
, for each + elemente
inseq
++ + +Operation's argument -
- -- - new_value -
+
+ ++
+new_value
++ -Any type -
+ +
++ + +Replacement value -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-replace_if(seq, f, new_value); +replace_if
(seq, f, new_value);- Return type: A model of Forward + Return type: A model of Forward Sequence.
- Semantics: Returns a new sequence with - all the elements of seq, - with new_value assigned - to each element for which f - evaluates to true. + Semantics: Returns a new sequence with + all the elements of
seq
, + withnew_value
assigned + to each element for whichf
+ evaluates totrue
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant. Returns a view which is lazily evaluated.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/transformation/replace_if.hpp> #include <boost/fusion/include/replace_if.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
struct odd { @@ -319,7 +174,7 @@ } }; ... -assert(replace_if(make_vector(1,2), odd(), 3) == make_vector(3,2)); +assert(replace_if
(make_vector
(1,2), odd(), 3) ==make_vector
(3,2));
diff --git a/doc/html/fusion/algorithm/transformation/functions/reverse.html b/doc/html/fusion/algorithm/transformation/functions/reverse.html index 9fb9a821..37bfd1d0 100644 --- a/doc/html/fusion/algorithm/transformation/functions/reverse.html +++ b/doc/html/fusion/algorithm/transformation/functions/reverse.html @@ -3,18 +3,10 @@ reverse -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,159 +22,80 @@ ---+- --reverse -
+-<<<<<<< .working -+reverse +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
Returns a new sequence with the elements of the original in reverse order.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synposis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synposis ->>>>>>> .merge-right.r57125
template< typename Sequence > -typename result_of::reverse<Sequence const>::type reverse(Sequence const& seq); +typenameresult_of::reverse
<Sequence const>::type reverse(Sequence const& seq);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.61. Parameters
--======= -
Table 1.61. Parameters
-======= -Table 1.65. Parameters
-======= -Table 1.65. Parameters
-======= -Table 1.65. Parameters
-======= -Table 1.65. Parameters
-======= -Table 1.65. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.65. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- -- - seq -
- A model of Bidirectional +
+ ++
+seq
++ -+ A model of Bidirectional Sequence -
+ +
++ + +Operation's argument -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-reverse(seq); +reverse
(seq);-<<<<<<< .working - Return type: A model of Bidirectional - Sequence. -======= Return type: ->>>>>>> .merge-right.r57242
- @@ -202,104 +115,29 @@
- Semantics: Returns a new sequence containing - all the elements of seq + Semantics: Returns a new sequence containing + all the elements of
seq
in reverse order.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant. Returns a view which is lazily evaluated.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/transformation/reverse.hpp> #include <boost/fusion/include/reverse.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
-assert(reverse(make_vector(1,2,3)) == make_vector(3,2,1)); +assert(reverse
(make_vector
(1,2,3)) ==make_vector
(3,2,1));
diff --git a/doc/html/fusion/algorithm/transformation/functions/transform.html b/doc/html/fusion/algorithm/transformation/functions/transform.html index ebf5836c..b5f6003f 100644 --- a/doc/html/fusion/algorithm/transformation/functions/transform.html +++ b/doc/html/fusion/algorithm/transformation/functions/transform.html @@ -3,18 +3,10 @@ transform -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,212 +22,119 @@ ----+- --transform -
+-<<<<<<< .working -+transform +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
- For a sequence seq and - function object or function pointer f, - transform returns a new - sequence with elements created by applying f(e) to each element of e - of seq. + For a sequence
seq
and + function object or function pointerf
, +transform
returns a new + sequence with elements created by applyingf(e)
to each element ofe
+ ofseq
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Unary -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Unary ->>>>>>> .merge-right.r57125 version synopsis
template< typename Sequence, typename F > -typename result_of::transform<Sequence const, F>::type transform( +typenameresult_of::transform
<Sequence const, F>::type transform( Sequence const& seq, F f);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.55. Parameters
--======= -
Table 1.55. Parameters
-======= -Table 1.59. Parameters
-======= -Table 1.59. Parameters
-======= -Table 1.59. Parameters
-======= -Table 1.59. Parameters
-======= -Table 1.59. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.59. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - seq -
- A model of Forward +
+ ++
+seq
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- -- - f -
- - f(e) - is a valid expression for each element e - of seq. boost::result_of<F(E)>::type is the return type of f when called with a value of - each element type E. -
+
+ ++
+f
++ ++
+f(e)
+ is a valid expression for each elemente
+ ofseq
.is the return type of
boost::result_of
<F(E)>::typef
when called with a value of + each element typeE
. ++ + +Transformation function -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-transform(seq, f); +transform
(seq, f);- Return type: A model of Forward + Return type: A model of Forward Sequence
- Semantics: Returns a new sequence, containing - the return values of f(e) for each element e - within seq. + Semantics: Returns a new sequence, containing + the return values of
f(e)
for each elemente
+ withinseq
.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Binary -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Binary ->>>>>>> .merge-right.r57125 version synopsis
template< @@ -243,200 +142,121 @@ typename Sequence2, typename F > -typename result_of::transform<Sequence1 const, Sequence2 const, F>::type transform( +typenameresult_of::transform
<Sequence1 const, Sequence2 const, F>::type transform( Sequence1 const& seq1, Sequence2 const& seq2, F f);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.56. Parameters
--======= -
Table 1.56. Parameters
-======= -Table 1.60. Parameters
-======= -Table 1.60. Parameters
-======= -Table 1.60. Parameters
-======= -Table 1.60. Parameters
-======= -Table 1.60. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.60. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- - - seq1 -
- A model of Forward +
+ ++
+seq1
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- - - seq2 -
- A model of Forward +
+ ++
+seq2
++ -+ A model of Forward Sequence -
+ +
++ + +Operation's argument -
- -- - f -
- - f(e1,e2) - is a valid expression for each pair of elements e1 - of seq1 and e2 of seq2. - boost::result_of<F(E1,E2)>::type is the return type of f when called with elements of - type E1 and E2 -
+
+ ++
+f
++ ++
+f(e1,e2)
+ is a valid expression for each pair of elementse1
+ ofseq1
ande2
ofseq2
. +is the return type of
boost::result_of
<F(E1,E2)>::typef
when called with elements of + typeE1
andE2
++ + +Transformation function -
- Return type: A model of Forward +
+ Return type: A model of Forward Sequence.
- Semantics: Returns a new sequence, containing - the return values of f(e1, e2) for each pair of elements e1 and e2 - within seq1 and seq2 respectively. + Semantics: Returns a new sequence, containing + the return values of
f(e1, e2)
for each pair of elementse1
ande2
+ withinseq1
andseq2
respectively.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant. Returns a view which is lazily evaluated.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/transformation/transform.hpp> #include <boost/fusion/include/transform.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
struct triple { @@ -448,7 +268,7 @@ }; }; ... -assert(transform(make_vector(1,2,3), triple()) == make_vector(3,6,9)); +assert(transform
(make_vector
(1,2,3), triple()) ==make_vector
(3,6,9));
diff --git a/doc/html/fusion/algorithm/transformation/functions/zip.html b/doc/html/fusion/algorithm/transformation/functions/zip.html index b9439e4f..82304916 100644 --- a/doc/html/fusion/algorithm/transformation/functions/zip.html +++ b/doc/html/fusion/algorithm/transformation/functions/zip.html @@ -3,18 +3,10 @@ zip -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,74 +22,21 @@ ---+- --zip -
+-<<<<<<< .working -+zip +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
Zips sequences together to form a single sequence, whos members are tuples of the members of the component sequences.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Sequence1, @@ -105,192 +44,96 @@ ... typename SequenceN > -typename result_of::zip<Sequence1, Sequence2, ... SequenceN>::type +typenameresult_of::zip
<Sequence1, Sequence2, ... SequenceN>::type zip(Sequence1 const& seq1, Sequence2 const& seq2, ... SequenceN const& seqN);-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.68. Parameters
--======= -
Table 1.68. Parameters
-======= -Table 1.72. Parameters
-======= -Table 1.72. Parameters
-======= -Table 1.72. Parameters
-======= -Table 1.72. Parameters
-======= -Table 1.72. Parameters
->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 +Table 1.72. Parameters
->>>>>>> .merge-right.r57125
+- +
+ -Parameter -
+ +
++ -Requirement -
+ +
++ + +Description -
- -- - seq1 to seqN -
- Each sequence is a model of Forward +
+ ++
+seq1
toseqN
++ -+ Each sequence is a model of Forward Sequence. -
+ +
++ + +Operation's argument -
- - Expression -=======
- + Expression ->>>>>>> .merge-right.r57125 Semantics
-zip(seq1, seq2, ... seqN); +zip
(seq1, seq2, ... seqN);- Return type: A model of Forward + Return type: A model of Forward Sequence.
- Semantics: Returns a sequence containing - tuples of elements from sequences seq1 - to seqN. For example, - applying zip to tuples (1, 2, 3) - and ('a', 'b', - 'c') - would return ((1, 'a'),(2, 'b'),(3, - 'c')) + Semantics: Returns a sequence containing + tuples of elements from sequences
seq1
+ toseqN
. For example, + applying zip to tuples(1, 2, 3)
+ and('a', 'b', + 'c')
+ would return((1, 'a'),(2, 'b'),(3, + 'c'))
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Complexity -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Complexity ->>>>>>> .merge-right.r57125
Constant. Returns a view which is lazily evaluated.
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Header -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Header ->>>>>>> .merge-right.r57125
#include <boost/fusion/algorithm/transformation/zip.hpp> #include <boost/fusion/include/zip.hpp>-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Example -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Example ->>>>>>> .merge-right.r57125
-vector<int,char> v1(1, 'a'); -vector<int,char> v2(2, 'b'); -assert(zip(v1, v2) == make_vector(make_vector(1, 2),make_vector('a', 'b')); +vector
<int,char> v1(1, 'a'); +vector
<int,char> v2(2, 'b'); +assert(zip
(v1, v2) ==make_vector
(make_vector
(1, 2),make_vector
('a', 'b'));
diff --git a/doc/html/fusion/algorithm/transformation/metafunctions.html b/doc/html/fusion/algorithm/transformation/metafunctions.html index 917c29d3..bb379566 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions.html @@ -1,16 +1,12 @@ - + Metafunctions -<<<<<<< .working - -======= ->>>>>>> .merge-right.r57125 - + - + @@ -26,13 +22,10 @@ --- - -++
- Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias + Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias SchwingerDistributed 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) diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/clear.html b/doc/html/fusion/algorithm/transformation/metafunctions/clear.html index e9a88208..c3055b77 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/clear.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/clear.html @@ -3,18 +3,10 @@
clear -<<<<<<< .working - -======= -<<<<<<< .working ->>>>>>> .merge-right.r57125 - -======= ->>>>>>> .merge-right.r58299 - + @@ -30,74 +22,21 @@ ---+- --clear -
++clear +
-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Description -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Description ->>>>>>> .merge-right.r57125
- Returns the result type of clear, given the input sequence + Returns the result type of
clear
, given the input sequence type.-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working - - Synopsis -======= - -======= - -======= - -======= - -======= - -======= - ->>>>>>> .merge-right.r58559 ->>>>>>> .merge-right.r58549 ->>>>>>> .merge-right.r58299 ->>>>>>> .merge-right.r57337 ->>>>>>> .merge-right.r57242 + Synopsis ->>>>>>> .merge-right.r57125
template< typename Sequence @@ -108,143 +47,73 @@ };-<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -<<<<<<< .working -Table 1.82. Parameters
-