From 0f4ac2e9e3ecb396328a9b90cf768b05f0848b1a Mon Sep 17 00:00:00 2001
From: Daniel James
-
- For a sequence
-
-
+
+ Description
+
-
-
- Description
-
-seq
,
- initial state initial_state
,
- and binary function object or function pointer f
,
- accumulate
returns the result of the repeated application
- of binary f
to the
- result of the previous f
- invocation (inital_state
- if it is the first call) and each element of seq
.
-
-
- Synopsis
-
-seq
, initial
+ state initial_state
,
+ and binary function object or function pointer f
,
+ accumulate
returns the result of the repeated application
+ of binary f
to the result
+ of the previous f
invocation
+ (inital_state
if it is
+ the first call) and each element of seq
.
+
template<
typename Sequence,
typename State,
@@ -71,10 +60,8 @@
typename result_of::accumulate
<Sequence const, State const, F>::type accumulate(
Sequence const& seq, State const& initial_state, F f);
--
Table 1.41. Parameters
+Table 1.41. Parameters
- - Parameter - - |
+
- - Requirement - - |
+
- - Description - - |
+
---|---|---|
-
- |
+
- - A model of Forward - Sequence - - |
+
- - Operation's argument - - |
+
-
- |
+
- - Any type - - |
+
- - Initial state - - |
+
-
- |
+
-
- |
+
- - Operation's argument - - |
+
- -
+accumulate(seq, initial_state, f);
-
+ Return type: Any type +- Return type: Any type -
+ Semantics: Equivalent tof(...
+ f(f(initial_state,e1),e2) ...eN)
where e1 ...eN
+ are the consecutive elements of seq
.
+
+-
-
- Semantics: Equivalent to f(...
- f(f(initial_state,e1),e2) ...eN)
where e1 ...eN
- are the consecutive elements of seq
.
-
-
-
- Linear, exactly
applications of result_of::size
<Sequence>::valuef
.
-
- -
+ Linear, exactlyresult_of::size
<Sequence>::value
applications of f
.
+
+#include <boost/fusion/algorithm/iteration/accumulate.hpp> #include <boost/fusion/include/accumulate.hpp>- -
- -
+struct make_string
{
typedef std::string result_type;
@@ -233,8 +193,6 @@
const vector
<int,int> vec(1,2);
assert(accumulate(vec,std::string(""), make_string()) == "12");
--
diff --git a/doc/html/fusion/algorithm/iteration/functions/fold.html b/doc/html/fusion/algorithm/iteration/functions/fold.html index 031ad78a..fc5ceaf9 100644 --- a/doc/html/fusion/algorithm/iteration/functions/fold.html +++ b/doc/html/fusion/algorithm/iteration/functions/fold.html @@ -26,35 +26,24 @@ + |
- - Parameter - - |
+
- - Requirement - - |
+
- - Description - - |
+
---|---|---|
-
- |
+
- - A model of Forward - Sequence - - |
+
- - Operation's argument - - |
+
-
- |
+
- - Any type - - |
+
- - Initial state - - |
+
-
- |
+
-
- |
+
- - Operation's argument - - |
+
- -
+fold(seq, initial_state, f);
-
+ Return type: Any type +- Return type: Any type -
+ Semantics: Equivalent tof(...
+ f(f(initial_state,e1),e2) ...eN)
where e1 ...eN
+ are the consecutive elements of seq
.
+
+-
-
- Semantics: Equivalent to f(...
- f(f(initial_state,e1),e2) ...eN)
where e1 ...eN
- are the consecutive elements of seq
.
-
-
-
- Linear, exactly
applications of result_of::size
<Sequence>::valuef
.
-
- -
+ Linear, exactlyresult_of::size
<Sequence>::value
applications of f
.
+
+#include <boost/fusion/algorithm/iteration/fold.hpp> #include <boost/fusion/include/fold.hpp>- -
- -
+struct make_string
{
typedef std::string result_type;
@@ -233,8 +193,6 @@
const vector
<int,int> vec(1,2);
assert(fold(vec,std::string(""), make_string()) == "12");
--
diff --git a/doc/html/fusion/algorithm/iteration/functions/for_each.html b/doc/html/fusion/algorithm/iteration/functions/for_each.html index 500f3fad..e9d999d8 100644 --- a/doc/html/fusion/algorithm/iteration/functions/for_each.html +++ b/doc/html/fusion/algorithm/iteration/functions/for_each.html @@ -27,14 +27,14 @@ for_each |
- - Parameter - - |
+
- - Requirement - - |
+
- - Description - - |
+
---|---|---|
-
- |
+
- - A model of Forward - Sequence - - |
+
- - Operation's argument - - |
+
-
- |
+
- - Any type - - |
+
- - Initial state - - |
+
-
- |
+
-
- |
+
- - Operation's argument - - |
+
- -
+iter_fold(seq, initial_state, f);
-
+ Return type: Any type +- Return type: Any type -
+ Semantics: Equivalent tof(...
+ f(f(initial_state,it1),it2) ...itN)
where it1 ...itN
+ are consecutive iterators on the elements of seq
.
+
+-
-
- Semantics: Equivalent to f(...
- f(f(initial_state,it1),it2) ...itN)
where it1 ...itN
- are consecutive iterators on the elements of seq
.
-
-
-
- Linear, exactly
applications of result_of::size
<Sequence>::valuef
.
-
- -
+ Linear, exactlyresult_of::size
<Sequence>::value
applications of f
.
+
+#include <boost/fusion/algorithm/iteration/iter_fold.hpp> #include <boost/fusion/include/iter_fold.hpp>- -
- -
+struct make_string
{
typedef std::string result_type;
@@ -233,8 +193,6 @@
const vector
<int,int> vec(1,2);
assert(iter_fold(vec,std::string(""), make_string()) == "12");
--
diff --git a/doc/html/fusion/algorithm/iteration/functions/reverse_fold.html b/doc/html/fusion/algorithm/iteration/functions/reverse_fold.html index 8c1e00ba..c4b568ca 100644 --- a/doc/html/fusion/algorithm/iteration/functions/reverse_fold.html +++ b/doc/html/fusion/algorithm/iteration/functions/reverse_fold.html @@ -26,35 +26,24 @@ + |
- - Parameter - - |
+
- - Requirement - - |
+
- - Description - - |
+
---|---|---|
-
- |
+
- - A model of Forward - Sequence - - |
+
- - Operation's argument - - |
+
-
- |
+
- - Any type - - |
+
- - Initial state - - |
+
-
- |
+
-
- |
+
- - Operation's argument - - |
+
- -
+reverse_fold(seq, initial_state, f);
-
+ Return type: Any type +- Return type: Any type -
+ Semantics: Equivalent tof(...
+ f(f(initial_state,eN),eN-1) ...e1)
where e1 ...eN
+ are the consecutive elements of seq
.
+
+-
-
- Semantics: Equivalent to f(...
- f(f(initial_state,eN),eN-1) ...e1)
where e1 ...eN
- are the consecutive elements of seq
.
-
-
-
- Linear, exactly
applications of result_of::size
<Sequence>::valuef
.
-
- -
+ Linear, exactlyresult_of::size
<Sequence>::value
applications of f
.
+
+#include <boost/fusion/algorithm/iteration/reverse_fold.hpp> #include <boost/fusion/include/reverse_fold.hpp>- -
- -
+struct make_string
{
typedef std::string result_type;
@@ -233,8 +193,6 @@
const vector
<int,int> vec(1,2);
assert(reverse_fold(vec,std::string(""), make_string()) == "21");
--
diff --git a/doc/html/fusion/algorithm/iteration/functions/reverse_iter_fold.html b/doc/html/fusion/algorithm/iteration/functions/reverse_iter_fold.html index 67518638..025f2e33 100644 --- a/doc/html/fusion/algorithm/iteration/functions/reverse_iter_fold.html +++ b/doc/html/fusion/algorithm/iteration/functions/reverse_iter_fold.html @@ -26,35 +26,24 @@ + |
- - Parameter - - |
+
- - Requirement - - |
+
- - Description - - |
+
---|---|---|
-
- |
+
- - A model of Forward - Sequence - - |
+
- - Operation's argument - - |
+
-
- |
+
- - Any type - - |
+
- - Initial state - - |
+
-
- |
+
-
- |
+
- - Operation's argument - - |
+
- -
+reverse_iter_fold(seq, initial_state, f);
-
+ Return type: Any type +- Return type: Any type -
+ Semantics: Equivalent tof(...
+ f(f(initial_state,itN),itN-1) ...it1)
where it1 ...itN
+ are consecutive iterators on the elements of seq
.
+
+-
-
- Semantics: Equivalent to f(...
- f(f(initial_state,itN),itN-1) ...it1)
where it1
- ...itN
are consecutive iterators on the elements of seq
.
-
-
-
- Linear, exactly
applications of result_of::size
<Sequence>::valuef
.
-
- -
+ Linear, exactlyresult_of::size
<Sequence>::value
applications of f
.
+
+#include <boost/fusion/algorithm/iteration/reverse_iter_fold.hpp> #include <boost/fusion/include/reverse_iter_fold.hpp>- -
- -
+struct make_string
{
typedef std::string result_type;
@@ -233,8 +193,6 @@
const vector
<int,int> vec(1,2);
assert(reverse_iter_fold(vec,std::string(""), make_string()) == "21");
--
diff --git a/doc/html/fusion/algorithm/iteration/metafunctions/accumulate.html b/doc/html/fusion/algorithm/iteration/metafunctions/accumulate.html index 57b79ee3..158b642b 100644 --- a/doc/html/fusion/algorithm/iteration/metafunctions/accumulate.html +++ b/doc/html/fusion/algorithm/iteration/metafunctions/accumulate.html @@ -26,28 +26,17 @@ + |
- - Parameter - - |
+
- - Requirement - - |
+
- - Description - - |
+
---|---|---|
-
- |
+
- - A model of Forward - Sequence - - |
+
- - The sequence to iterate - - |
+
-
- |
+
- - Any type - - |
+
-
- The initial state for the first application of |
+
-
- |
+
-
- |
+
- - The operation to be applied on traversal - - |
+
- -
+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
applications of result_of::size
<Sequence>::valueF
.
-
- -
+ Linear, exactlyresult_of::size
<Sequence>::value
applications of F
.
+
+#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 e479c1fd..e0ede514 100644 --- a/doc/html/fusion/algorithm/iteration/metafunctions/fold.html +++ b/doc/html/fusion/algorithm/iteration/metafunctions/fold.html @@ -26,28 +26,17 @@ + |
- - Parameter - - |
+
- - Requirement - - |
+
- - Description - - |
+
---|---|---|
-
- |
+
- - A model of Forward - Sequence - - |
+
- - The sequence to iterate - - |
+
-
- |
+
- - Any type - - |
+
-
- The initial state for the first application of |
+
-
- |
+
-
- |
+
- - The operation to be applied on traversal - - |
+
- -
+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 type
- Sequence
, with an initial
- state of type State
- and binary function object or function pointer of type F
.
-
-
-
- Linear, exactly
applications of result_of::size
<Sequence>::valueF
.
-
- -
+ Linear, exactlyresult_of::size
<Sequence>::value
applications of F
.
+
+#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 072f8ea1..63c36c50 100644 --- a/doc/html/fusion/algorithm/iteration/metafunctions/for_each.html +++ b/doc/html/fusion/algorithm/iteration/metafunctions/for_each.html @@ -31,11 +31,11 @@ return type of |
- - Parameter - - |
+
- - Requirement - - |
+
- - Description - - |
+
---|---|---|
-
- |
+
- - A model of Forward - Sequence - - |
+
- - The sequence to iterate - - |
+
-
- |
+
- - Any type - - |
+
-
- The initial state for the first application of |
+
-
- |
+
-
- |
+
- - The operation to be applied on traversal - - |
+
- -
+iter_fold<Sequence, State, F>::type
-
+ Return type: Any type +- Return type: Any type -
+ Semantics: Returns the result of applying +iter_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
- iter_fold
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
applications of result_of::size
<Sequence>::valueF
.
-
- -
+ Linear, exactlyresult_of::size
<Sequence>::value
applications of F
.
+
+#include <boost/fusion/algorithm/iteration/iter_fold.hpp> #include <boost/fusion/include/iter_fold.hpp>-
-
diff --git a/doc/html/fusion/algorithm/iteration/metafunctions/reverse_fold.html b/doc/html/fusion/algorithm/iteration/metafunctions/reverse_fold.html index f1021ccc..2f6b94b6 100644 --- a/doc/html/fusion/algorithm/iteration/metafunctions/reverse_fold.html +++ b/doc/html/fusion/algorithm/iteration/metafunctions/reverse_fold.html @@ -26,28 +26,17 @@ + |
- - Parameter - - |
+
- - Requirement - - |
+
- - Description - - |
+
---|---|---|
-
- |
+
- - A model of Forward - Sequence - - |
+
- - The sequence to iterate - - |
+
-
- |
+
- - Any type - - |
+
-
- The initial state for the first application of |
+
-
- |
+
-
- |
+
- - The operation to be applied on traversal - - |
+
- -
+reverse_fold<Sequence, State, F>::type
-
+ Return type: Any type +- Return type: Any type -
+ Semantics: Returns the result of applying +reverse_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
- reverse_fold
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
applications of result_of::size
<Sequence>::valueF
.
-
- -
+ Linear, exactlyresult_of::size
<Sequence>::value
applications of F
.
+
+#include <boost/fusion/algorithm/iteration/reverse_fold.hpp> #include <boost/fusion/include/reverse_fold.hpp>-
-
diff --git a/doc/html/fusion/algorithm/iteration/metafunctions/reverse_iter_fold.html b/doc/html/fusion/algorithm/iteration/metafunctions/reverse_iter_fold.html index 56c20d56..5803c600 100644 --- a/doc/html/fusion/algorithm/iteration/metafunctions/reverse_iter_fold.html +++ b/doc/html/fusion/algorithm/iteration/metafunctions/reverse_iter_fold.html @@ -26,28 +26,17 @@ + |
- - Parameter - - |
+
- - Requirement - - |
+
- - Description - - |
+
---|---|---|
-
- |
+
- - A model of Forward - Sequence - - |
+
- - The sequence to iterate - - |
+
-
- |
+
- - Any type - - |
+
-
- The initial state for the first application of |
+
-
- |
+
-
- |
+
- - The operation to be applied on traversal - - |
+
- -
+reverse_iter_fold<Sequence, State, F>::type
-
+ Return type: Any type +- Return type: Any type -
+ Semantics: Returns the result of applying +reverse_iter_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
- reverse_iter_fold
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
applications of result_of::size
<Sequence>::valueF
.
-
- -
+ Linear, exactlyresult_of::size
<Sequence>::value
applications of F
.
+
+#include <boost/fusion/algorithm/iteration/reverse_iter_fold.hpp> #include <boost/fusion/include/reverse_iter_fold.hpp>-
-
diff --git a/doc/html/fusion/algorithm/query.html b/doc/html/fusion/algorithm/query.html index 4b16877c..bc380d09 100644 --- a/doc/html/fusion/algorithm/query.html +++ b/doc/html/fusion/algorithm/query.html @@ -34,7 +34,7 @@ The query algorithms provide support for searching and analyzing sequences. |
#include <boost/fusion/algorithm/transformation.hpp> diff --git a/doc/html/fusion/algorithm/transformation/functions/clear.html b/doc/html/fusion/algorithm/transformation/functions/clear.html index c930305b..423aa0a3 100644 --- a/doc/html/fusion/algorithm/transformation/functions/clear.html +++ b/doc/html/fusion/algorithm/transformation/functions/clear.html @@ -27,14 +27,14 @@ clear- + Description
clear
returns an empty sequence.- + Synposis
template< @@ -43,7 +43,7 @@ typenameresult_of::clear
<Sequence const>::type clear(Sequence const& seq);- + Expression Semantics
@@ -103,21 +103,21 @@ with no elements.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/clear.hpp> #include <boost/fusion/include/clear.hpp>- + Example
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 0352c2f5..f4e743ab 100644 --- a/doc/html/fusion/algorithm/transformation/functions/erase.html +++ b/doc/html/fusion/algorithm/transformation/functions/erase.html @@ -27,7 +27,7 @@ erase- + Description
@@ -35,7 +35,7 @@ those at a specified iterator, or between two iterators.
- + Synposis
template< @@ -54,7 +54,7 @@ Sequence const& seq, First const& it1, Last const& it2);- + Expression Semantics
@@ -187,21 +187,21 @@ in their original order, except those in the range [first
,last
).- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/erase.hpp> #include <boost/fusion/include/erase.hpp>- + Example
constvector
<int, double, char> vec(1, 2.0, 'c'); diff --git a/doc/html/fusion/algorithm/transformation/functions/erase_key.html b/doc/html/fusion/algorithm/transformation/functions/erase_key.html index 787b0f6f..8835d992 100644 --- a/doc/html/fusion/algorithm/transformation/functions/erase_key.html +++ b/doc/html/fusion/algorithm/transformation/functions/erase_key.html @@ -27,7 +27,7 @@ erase_key- + Description
@@ -39,7 +39,7 @@ key.
- + Synposis
template< @@ -49,7 +49,7 @@ typenameresult_of::erase_key
<Sequence const, Key>::type erase_key(Sequence const& seq);- + Expression Semantics
@@ -131,21 +131,21 @@ except those with keyKey
.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/erase_key.hpp> #include <boost/fusion/include/erase_key.hpp>- + Example
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 f6cb5942..e01f79a6 100644 --- a/doc/html/fusion/algorithm/transformation/functions/filter.html +++ b/doc/html/fusion/algorithm/transformation/functions/filter.html @@ -27,7 +27,7 @@ filter- + Description
@@ -35,7 +35,7 @@ the elements of a specified type.
- + Synopsis
template< @@ -45,7 +45,7 @@ typenameresult_of::filter
<Sequence const, T>::type filter(Sequence const& seq);- + Expression Semantics
@@ -137,21 +137,21 @@ to.
filter_if
<boost::same_type<_, T> >(seq)- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/filter.hpp> #include <boost/fusion/include/filter.hpp>- + Example
constvector
<int,int,long,long> vec(1,2,3,4); diff --git a/doc/html/fusion/algorithm/transformation/functions/filter_if.html b/doc/html/fusion/algorithm/transformation/functions/filter_if.html index 115d3b87..b0b5b377 100644 --- a/doc/html/fusion/algorithm/transformation/functions/filter_if.html +++ b/doc/html/fusion/algorithm/transformation/functions/filter_if.html @@ -27,7 +27,7 @@ filter_if- + Description
@@ -36,7 +36,7 @@ Lambda Expression evaluates to
boost::mpl::true_
.- + Synopsis
template< @@ -46,7 +46,7 @@ typenameresult_of::filter_if
<Sequence const, Pred>::type filter_if(Sequence const& seq);- + Expression Semantics
@@ -140,21 +140,21 @@ is the same as in the original sequence.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/filter_if.hpp> #include <boost/fusion/include/filter_if.hpp>- + Example
constvector
<int,int,double,double> vec(1,2,3.0,4.0); diff --git a/doc/html/fusion/algorithm/transformation/functions/insert.html b/doc/html/fusion/algorithm/transformation/functions/insert.html index 4799398d..c78d19eb 100644 --- a/doc/html/fusion/algorithm/transformation/functions/insert.html +++ b/doc/html/fusion/algorithm/transformation/functions/insert.html @@ -27,7 +27,7 @@ insert- + Description
@@ -35,7 +35,7 @@ element inserted the position described by a given iterator.
- + Synposis
template< @@ -47,7 +47,7 @@ Sequence const& seq, Pos const& pos, T const& t);- + Expression Semantics
@@ -158,21 +158,21 @@pos
.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/insert.hpp> #include <boost/fusion/include/insert.hpp>- + Example
constvector
<int,int> vec(1,2); diff --git a/doc/html/fusion/algorithm/transformation/functions/insert_range.html b/doc/html/fusion/algorithm/transformation/functions/insert_range.html index c502d026..75799afb 100644 --- a/doc/html/fusion/algorithm/transformation/functions/insert_range.html +++ b/doc/html/fusion/algorithm/transformation/functions/insert_range.html @@ -27,7 +27,7 @@ insert_range- + Description
@@ -35,7 +35,7 @@ iterator.
- + Synposis
template< @@ -47,7 +47,7 @@ Sequence const& seq, Pos const& pos, Range const& range);- + Expression Semantics
@@ -159,21 +159,21 @@ All elements retaining their ordering from the orignal sequences.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/insert_range.hpp> #include <boost/fusion/include/insert_range.hpp>- + Example
constvector
<int,int> vec(1,2); diff --git a/doc/html/fusion/algorithm/transformation/functions/join.html b/doc/html/fusion/algorithm/transformation/functions/join.html index 7a6a6480..3a4e01bb 100644 --- a/doc/html/fusion/algorithm/transformation/functions/join.html +++ b/doc/html/fusion/algorithm/transformation/functions/join.html @@ -27,7 +27,7 @@ join- + Description
@@ -35,7 +35,7 @@ first followed by the elements of the second.
- + Synopsis
template< @@ -44,7 +44,7 @@ typenameresult_of::join
<LhSequence, RhSequence>::type join(LhSequence const& lhs, RhSequence const& rhs);- + Expression Semantics
@@ -138,21 +138,21 @@ The order of the elements is preserved.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/join.hpp> #include <boost/fusion/include/join.hpp>- + Example
vector
<int,char> v1(1, 'a'); diff --git a/doc/html/fusion/algorithm/transformation/functions/pop_back.html b/doc/html/fusion/algorithm/transformation/functions/pop_back.html index 47afaf5b..35686c0c 100644 --- a/doc/html/fusion/algorithm/transformation/functions/pop_back.html +++ b/doc/html/fusion/algorithm/transformation/functions/pop_back.html @@ -27,14 +27,14 @@ pop_back- + Description
Returns a new sequence, with the last element of the original removed.
- + Synopsis
template< @@ -43,7 +43,7 @@ typenameresult_of::pop_back
<Sequence const>::type pop_back(Sequence const& seq);- + Expression Semantics
@@ -116,21 +116,21 @@ same order as they were inseq
.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/pop_back.hpp> #include <boost/fusion/include/pop_back.hpp>- + Example
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 6207828d..6b080f12 100644 --- a/doc/html/fusion/algorithm/transformation/functions/pop_front.html +++ b/doc/html/fusion/algorithm/transformation/functions/pop_front.html @@ -27,14 +27,14 @@ pop_front- + Description
Returns a new sequence, with the first element of the original removed.
- + Synopsis
template< @@ -43,7 +43,7 @@ typenameresult_of::pop_front
<Sequence const>::type pop_front(Sequence const& seq);- + Expression Semantics
@@ -116,21 +116,21 @@ same order as they were inseq
.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/pop_front.hpp> #include <boost/fusion/include/pop_front.hpp>- + Example
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 5285b26d..72cbac3e 100644 --- a/doc/html/fusion/algorithm/transformation/functions/push_back.html +++ b/doc/html/fusion/algorithm/transformation/functions/push_back.html @@ -27,14 +27,14 @@ push_back- + Description
Returns a new sequence with an element added at the end.
- + Synopsis
template< @@ -45,7 +45,7 @@ Sequence const& seq, T const& t);- + Expression Semantics
@@ -137,21 +137,21 @@ to the end. The elements are in the same order as they were inseq
.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/push_back.hpp> #include <boost/fusion/include/push_back.hpp>- + Example
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 79c307f0..3596f771 100644 --- a/doc/html/fusion/algorithm/transformation/functions/push_front.html +++ b/doc/html/fusion/algorithm/transformation/functions/push_front.html @@ -27,14 +27,14 @@ push_front- + Description
Returns a new sequence with an element added at the beginning.
- + Synopsis
template< @@ -45,7 +45,7 @@ Sequence const& seq, T const& t);- + Expression Semantics
@@ -138,21 +138,21 @@seq
.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/push_front.hpp> #include <boost/fusion/include/push_front.hpp>- + Example
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 bbc53929..7e7a54eb 100644 --- a/doc/html/fusion/algorithm/transformation/functions/remove.html +++ b/doc/html/fusion/algorithm/transformation/functions/remove.html @@ -27,7 +27,7 @@ remove- + Description
@@ -35,7 +35,7 @@ except those of a given type.
- + Synopsis
template< @@ -45,7 +45,7 @@ typenameresult_of::remove
<Sequence const, T>::type replace(Sequence const& seq);- + Expression Semantics
@@ -137,21 +137,21 @@ Equivalent to.
remove_if
<boost::is_same<_,T> >(seq)- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/remove.hpp> #include <boost/fusion/include/remove.hpp>- + Example
constvector
<int,double> vec(1,2.0); diff --git a/doc/html/fusion/algorithm/transformation/functions/remove_if.html b/doc/html/fusion/algorithm/transformation/functions/remove_if.html index 7bac6dc7..dd31d562 100644 --- a/doc/html/fusion/algorithm/transformation/functions/remove_if.html +++ b/doc/html/fusion/algorithm/transformation/functions/remove_if.html @@ -27,7 +27,7 @@ remove_if- + Description
@@ -35,7 +35,7 @@ those where a given unary function object evaluates to
true
.- + Synopsis
template< @@ -45,7 +45,7 @@ typenameresult_of::remove_if
<Sequence const, Pred>::type remove_if(Sequence const& seq);- + Expression Semantics
@@ -139,21 +139,21 @@ >(seq).- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/remove_if.hpp> #include <boost/fusion/include/remove_if.hpp>- + Example
constvector
<int,double> vec(1,2.0); diff --git a/doc/html/fusion/algorithm/transformation/functions/replace.html b/doc/html/fusion/algorithm/transformation/functions/replace.html index 57f23e8d..b46c22d0 100644 --- a/doc/html/fusion/algorithm/transformation/functions/replace.html +++ b/doc/html/fusion/algorithm/transformation/functions/replace.html @@ -27,7 +27,7 @@ replace- + Description
@@ -35,7 +35,7 @@ a new value.
- + Synopsis
template< @@ -46,7 +46,7 @@ Sequence const& seq, T const& old_value, T const& new_value);- + Expression Semantics
@@ -149,21 +149,21 @@ to elements with the same type and equal toold_value
.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/replace.hpp> #include <boost/fusion/include/replace.hpp>- + Example
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 9427e66e..ccea46c9 100644 --- a/doc/html/fusion/algorithm/transformation/functions/replace_if.html +++ b/doc/html/fusion/algorithm/transformation/functions/replace_if.html @@ -27,7 +27,7 @@ replace_if- + Description
@@ -36,7 +36,7 @@ replaced with a new value.
- + Synopsis
template< @@ -47,7 +47,7 @@ Sequence const& seq, F f, T const& new_value);- + Expression Semantics
@@ -149,21 +149,21 @@ evaluates totrue
.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/replace_if.hpp> #include <boost/fusion/include/replace_if.hpp>- + Example
struct odd diff --git a/doc/html/fusion/algorithm/transformation/functions/reverse.html b/doc/html/fusion/algorithm/transformation/functions/reverse.html index 1c6a9995..1273c123 100644 --- a/doc/html/fusion/algorithm/transformation/functions/reverse.html +++ b/doc/html/fusion/algorithm/transformation/functions/reverse.html @@ -27,14 +27,14 @@ reverse- + Description
Returns a new sequence with the elements of the original in reverse order.
- + Synposis
template< @@ -43,7 +43,7 @@ typenameresult_of::reverse
<Sequence const>::type reverse(Sequence const& seq);- + Expression Semantics
@@ -120,21 +120,21 @@ in reverse order.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/reverse.hpp> #include <boost/fusion/include/reverse.hpp>- + Example
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 297bba8d..314cc3f3 100644 --- a/doc/html/fusion/algorithm/transformation/functions/transform.html +++ b/doc/html/fusion/algorithm/transformation/functions/transform.html @@ -27,7 +27,7 @@ transform- + Description
@@ -38,7 +38,7 @@ of
seq
.- + Unary version synopsis
@@ -50,7 +50,7 @@ Sequence const& seq, F f);- + Expression Semantics
@@ -134,7 +134,7 @@ withinseq
.- + Binary version synopsis
@@ -147,7 +147,7 @@ Sequence1 const& seq1, Sequence2 const& seq2, F f);-Table 1.66. Parameters
+Table 1.66. Parameters
@@ -244,21 +244,21 @@ within seq1
andseq2
respectively.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/transform.hpp> #include <boost/fusion/include/transform.hpp>- + Example
struct triple diff --git a/doc/html/fusion/algorithm/transformation/functions/zip.html b/doc/html/fusion/algorithm/transformation/functions/zip.html index 9ad303d4..97949710 100644 --- a/doc/html/fusion/algorithm/transformation/functions/zip.html +++ b/doc/html/fusion/algorithm/transformation/functions/zip.html @@ -27,7 +27,7 @@ zip- + Description
@@ -35,7 +35,7 @@ of the members of the component sequences.
- + Synopsis
template< @@ -48,7 +48,7 @@ zip(Sequence1 const& seq1, Sequence2 const& seq2, ... SequenceN const& seqN);- + Expression Semantics
@@ -114,21 +114,21 @@ 'c'))- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/zip.hpp> #include <boost/fusion/include/zip.hpp>- + Example
vector
<int,char> v1(1, 'a'); diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/clear.html b/doc/html/fusion/algorithm/transformation/metafunctions/clear.html index 8ca30b95..33ea9f5f 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/clear.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/clear.html @@ -27,7 +27,7 @@ clear- + Description
@@ -35,7 +35,7 @@ type.
- + Synopsis
template< @@ -47,7 +47,7 @@ };- + Expression Semantics
@@ -105,14 +105,14 @@ Semantics: Returns an empty sequence.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/clear.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/erase.html b/doc/html/fusion/algorithm/transformation/metafunctions/erase.html index 38200aa0..a084631f 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/erase.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/erase.html @@ -31,11 +31,11 @@ and range delimiting iterator types.- + Description
- + Synopsis
template< @@ -48,7 +48,7 @@ };- + Expression Semantics
@@ -168,14 +168,14 @@ andIt2
removed.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/erase.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/erase_key.html b/doc/html/fusion/algorithm/transformation/metafunctions/erase_key.html index 6d9511ec..7fd325a9 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/erase_key.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/erase_key.html @@ -27,7 +27,7 @@ erase_key- + Description
@@ -35,7 +35,7 @@ and key types.
- + Synopsis
template< @@ -48,7 +48,7 @@ };- + Expression Semantics
@@ -130,14 +130,14 @@ except those with keyKey
.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/erase_key.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/filter.html b/doc/html/fusion/algorithm/transformation/metafunctions/filter.html index 55e8facb..f8d41b04 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/filter.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/filter.html @@ -27,7 +27,7 @@ filter- + Description
@@ -35,7 +35,7 @@ and type to retain.
- + Synopsis
template< @@ -48,7 +48,7 @@ };- + Expression Semantics
@@ -141,14 +141,14 @@ boost::is_same<mpl::_, T> >::type.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/filter.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/filter_if.html b/doc/html/fusion/algorithm/transformation/metafunctions/filter_if.html index ae4b6eeb..71905b97 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/filter_if.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/filter_if.html @@ -27,7 +27,7 @@ filter_if- + Description
@@ -36,7 +36,7 @@ Lambda Expression predicate type.
- + Synopsis
template< @@ -49,7 +49,7 @@ };- + Expression Semantics
@@ -142,14 +142,14 @@ toboost::mpl::true_
.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/filter_if.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/insert.html b/doc/html/fusion/algorithm/transformation/metafunctions/insert.html index 929a52e5..484be5d5 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/insert.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/insert.html @@ -27,7 +27,7 @@ insert- + Description
@@ -35,7 +35,7 @@ position iterator and insertion types.
- + Synopsis
template< @@ -49,7 +49,7 @@ };- + Expression Semantics
@@ -159,14 +159,14 @@ inSequence
.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/insert.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/insert_range.html b/doc/html/fusion/algorithm/transformation/metafunctions/insert_range.html index 520f86ad..b7397aba 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/insert_range.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/insert_range.html @@ -27,7 +27,7 @@ insert_range- + Description
@@ -35,7 +35,7 @@ sequence, position iterator and insertion range types.
- + Synopsis
template< @@ -49,7 +49,7 @@ };- + Expression Semantics
@@ -160,14 +160,14 @@ intoSequence
.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/insert_range.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/join.html b/doc/html/fusion/algorithm/transformation/metafunctions/join.html index 2ddc0778..64ad1336 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/join.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/join.html @@ -27,14 +27,14 @@ join- + Description
Returns the result of joining 2 sequences, given the sequence types.
- + Synopsis
template< @@ -47,7 +47,7 @@ };- + Expression Semantics
@@ -76,14 +76,14 @@ The order of the elements in the 2 sequences is preserved.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/join.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/pop_back.html b/doc/html/fusion/algorithm/transformation/metafunctions/pop_back.html index 1f504a9f..1b07152b 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/pop_back.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/pop_back.html @@ -27,7 +27,7 @@ pop_back- + Description
@@ -35,7 +35,7 @@ type.
- + Synopsis
template< @@ -47,7 +47,7 @@ };- + Expression Semantics
@@ -119,14 +119,14 @@ except the last element.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/pop_back.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/pop_front.html b/doc/html/fusion/algorithm/transformation/metafunctions/pop_front.html index 9d7aba39..6037abba 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/pop_front.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/pop_front.html @@ -27,7 +27,7 @@ pop_front- + Description
@@ -35,7 +35,7 @@ type.
- + Synopsis
template< @@ -47,7 +47,7 @@ };- + Expression Semantics
@@ -119,14 +119,14 @@ except the first element.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/pop_front.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/push_back.html b/doc/html/fusion/algorithm/transformation/metafunctions/push_back.html index dc67045c..5b367aa6 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/push_back.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/push_back.html @@ -27,7 +27,7 @@ push_back- + Description
@@ -35,7 +35,7 @@ the input sequence and element to push.
- + Synopsis
template< @@ -48,7 +48,7 @@ };- + Expression Semantics
@@ -140,14 +140,14 @@ added to the end.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/push_back.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/push_front.html b/doc/html/fusion/algorithm/transformation/metafunctions/push_front.html index 70872ff7..93873442 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/push_front.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/push_front.html @@ -27,7 +27,7 @@ push_front- + Description
@@ -35,7 +35,7 @@ of the input sequence and element to push.
- + Synopsis
template< @@ -48,7 +48,7 @@ };- + Expression Semantics
@@ -140,14 +140,14 @@ added to the beginning.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/push_front.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/remove.html b/doc/html/fusion/algorithm/transformation/metafunctions/remove.html index 71ba667d..5b196548 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/remove.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/remove.html @@ -27,7 +27,7 @@ remove- + Description
@@ -35,7 +35,7 @@ removal types.
- + Synopsis
template< @@ -48,7 +48,7 @@ };- + Expression Semantics
@@ -141,14 +141,14 @@ boost::is_same<mpl::_, T> >::type.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/remove.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/remove_if.html b/doc/html/fusion/algorithm/transformation/metafunctions/remove_if.html index 18814499..2cf9f8e2 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/remove_if.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/remove_if.html @@ -27,7 +27,7 @@ remove_if- + Description
@@ -36,7 +36,7 @@ Lambda Expression predicate types.
- + Synopsis
template< @@ -49,7 +49,7 @@ };- + Expression Semantics
@@ -142,14 +142,14 @@ toboost::mpl::false_
.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/remove_if.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/replace.html b/doc/html/fusion/algorithm/transformation/metafunctions/replace.html index 1a9750c3..600e6451 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/replace.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/replace.html @@ -27,7 +27,7 @@ replace- + Description
@@ -35,7 +35,7 @@ the input sequence and element to replace.
- + Synopsis
template< @@ -48,7 +48,7 @@ };- + Expression Semantics
@@ -127,14 +127,14 @@replace
.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/replace.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/replace_if.html b/doc/html/fusion/algorithm/transformation/metafunctions/replace_if.html index 4a2bf575..2d4a6582 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/replace_if.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/replace_if.html @@ -27,7 +27,7 @@ replace_if- + Description
@@ -36,7 +36,7 @@ Function Object predicate and replacement object.
- + Synopsis
template< @@ -49,7 +49,7 @@ };- + Expression Semantics
@@ -146,14 +146,14 @@replace_if
.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/replace_if.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/reverse.html b/doc/html/fusion/algorithm/transformation/metafunctions/reverse.html index ea686077..9e2a6551 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/reverse.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/reverse.html @@ -27,7 +27,7 @@ reverse- + Description
@@ -35,7 +35,7 @@ type.
- + Synopsis
template< @@ -47,7 +47,7 @@ };- + Expression Semantics
@@ -123,14 +123,14 @@ elements in the reverse order toSequence
.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/reverse.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/transform.html b/doc/html/fusion/algorithm/transformation/metafunctions/transform.html index 3392c104..73070365 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/transform.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/transform.html @@ -27,7 +27,7 @@ transform- + Description
@@ -38,7 +38,7 @@ of
seq
.- + Unary version synopsis
@@ -50,7 +50,7 @@ Sequence const& seq, F f);- + Expression Semantics
@@ -145,7 +145,7 @@ withinseq
.- + Binary version synopsis
@@ -158,7 +158,7 @@ Sequence1 const& seq1, Sequence2 const& seq2, F f);-Table 1.86. Parameters
+Table 1.86. Parameters
@@ -255,21 +255,21 @@ within seq1
andseq2
respectively.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/transform.hpp> #include <boost/fusion/include/transform.hpp>- + Example
struct triple diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/zip.html b/doc/html/fusion/algorithm/transformation/metafunctions/zip.html index 2f4b93bb..b6eefd64 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/zip.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/zip.html @@ -27,7 +27,7 @@ zip- + Description
@@ -35,7 +35,7 @@ of the members of the component sequences.
- + Synopsis
template< @@ -50,7 +50,7 @@ };- + Expression Semantics
@@ -72,14 +72,14 @@ 'c'))- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/zip.hpp> diff --git a/doc/html/fusion/extension/ext_full.html b/doc/html/fusion/extension/ext_full.html index 28d06ead..5024824a 100644 --- a/doc/html/fusion/extension/ext_full.html +++ b/doc/html/fusion/extension/ext_full.html @@ -50,7 +50,7 @@- + Our example
@@ -80,7 +80,7 @@ Start guide.
- + Enabling Tag Dispatching
@@ -121,7 +121,7 @@ #include <boost/fusion/include/tag_of.hpp>- + Designing a suitable iterator
@@ -183,7 +183,7 @@ clearer as we add features to our implementation.- + A first couple of instructive features
@@ -323,7 +323,7 @@- + Implementing the remaining iterator functionality
@@ -374,7 +374,7 @@ are provided in the example code.- + Implementing the intrinsic functions of the sequence
@@ -430,7 +430,7 @@value_at_impl
andat_impl
.- + Enabling our type as an associative sequence
@@ -494,7 +494,7 @@ are provided in the example code.- + Summary
diff --git a/doc/html/fusion/extension/iterator_facade.html b/doc/html/fusion/extension/iterator_facade.html index e837f61f..e8b2c002 100644 --- a/doc/html/fusion/extension/iterator_facade.html +++ b/doc/html/fusion/extension/iterator_facade.html @@ -27,7 +27,7 @@ Iterator Facade
- + Description
@@ -36,14 +36,14 @@ iterator.
- + Synopsis
template<typename Derived, typename TravesalTag> struct iterator_facade;- + Usage
@@ -57,7 +57,7 @@ type.
- + Header
#include <boost/fusion/iterator/iterator_facade.hpp> #include <boost/fusion/include/iterator_facade.hpp>- + Example
diff --git a/doc/html/fusion/extension/sequence_facade.html b/doc/html/fusion/extension/sequence_facade.html index 6eea619f..2737f355 100644 --- a/doc/html/fusion/extension/sequence_facade.html +++ b/doc/html/fusion/extension/sequence_facade.html @@ -27,7 +27,7 @@ Sequence Facade
- + Description
@@ -36,14 +36,14 @@ iterator.
- + Synopsis
template<typename Derived, typename TravesalTag, typename IsView = mpl::false_> struct sequence_facade;- + Usage
@@ -59,7 +59,7 @@ type.
- + Include
#include <boost/fusion/sequence/sequence_facade.hpp> #include <boost/fusion/include/sequence_facade.hpp>- + Example
diff --git a/doc/html/fusion/functional.html b/doc/html/fusion/functional.html index 3dacf5da..254bb24b 100644 --- a/doc/html/fusion/functional.html +++ b/doc/html/fusion/functional.html @@ -63,13 +63,13 @@ through a function object interface.
- + Header
#include <boost/fusion/functional.hpp>- + Fused and unfused forms
@@ -103,7 +103,7 @@ form off'
.- + Calling functions and function objects
@@ -133,7 +133,7 @@ Constructors can be called applying Boost.Functional/Factory.- + Making Fusion code callable through a function object interface
diff --git a/doc/html/fusion/functional/adapters/fused.html b/doc/html/fusion/functional/adapters/fused.html index bf9a23ca..7dfcba24 100644 --- a/doc/html/fusion/functional/adapters/fused.html +++ b/doc/html/fusion/functional/adapters/fused.html @@ -27,7 +27,7 @@ fused- + Description
@@ -54,20 +54,20 @@ and
boost::shared_ptr
).- + Header
#include <boost/fusion/functional/adapter/fused.hpp>- + Synopsis
template <typename Function> class fused;- + Template parameters
@@ -111,7 +111,7 @@- + Model of
@@ -148,7 +148,7 @@
- + Expression Semantics
@@ -213,14 +213,14 @@
fused<std::plus
<long> > f; assert(f(make_vector
(1,2l)) == 3l);
@@ -44,20 +44,20 @@ object is held by value, the adapter is const).
#include <boost/fusion/functional/adapter/fused_function_object.hpp>
template <class Function> class fused_function_object;
template<class SeqOfSeqs, class Func> @@ -241,7 +241,7 @@ }
@@ -62,20 +62,20 @@ case is not implemented).
#include <boost/fusion/functional/adapter/fused_procedure.hpp>
template <typename Function> class fused_procedure;
template<class SequenceOfSequences, class Func> @@ -242,7 +242,7 @@ }
#include <boost/fusion/functional/adapter/limits.hpp>
diff --git a/doc/html/fusion/functional/adapters/unfused.html b/doc/html/fusion/functional/adapters/unfused.html index a9b0039a..7745622d 100644 --- a/doc/html/fusion/functional/adapters/unfused.html +++ b/doc/html/fusion/functional/adapters/unfused.html @@ -27,7 +27,7 @@ unfused
@@ -57,20 +57,20 @@ object is held by value, the adapter is const.
#include <boost/fusion/functional/adapter/unfused.hpp>
template <class Function, bool AllowNullary = true> class unfused;
struct fused_incrementer @@ -266,7 +266,7 @@ }
@@ -66,20 +66,20 @@
#include <boost/fusion/functional/adapter/unfused_typed.hpp>
template <class Function, class Sequence> class unfused_typed;
struct add_assign // applies operator+= @@ -321,7 +321,7 @@ }
@@ -36,7 +36,7 @@ of a function call operator.
& a_free_function diff --git a/doc/html/fusion/functional/concepts/def_callable.html b/doc/html/fusion/functional/concepts/def_callable.html index ed8b8519..c9408d9c 100644 --- a/doc/html/fusion/functional/concepts/def_callable.html +++ b/doc/html/fusion/functional/concepts/def_callable.html @@ -28,7 +28,7 @@ Callable Object- + Description
@@ -37,7 +37,7 @@ to determine the result of a call.
- + Refinement of
@@ -79,7 +79,7 @@- + Expression requirements
@@ -117,7 +117,7 @@- + Models
@@ -130,7 +130,7 @@
- + Examples
& a_free_function diff --git a/doc/html/fusion/functional/concepts/poly.html b/doc/html/fusion/functional/concepts/poly.html index d69900b6..2a8c5dce 100644 --- a/doc/html/fusion/functional/concepts/poly.html +++ b/doc/html/fusion/functional/concepts/poly.html @@ -28,7 +28,7 @@ Object- + Description
@@ -36,7 +36,7 @@ Callable Object type.
- + Refinement of
@@ -79,7 +79,7 @@- + Expression requirements
@@ -128,7 +128,7 @@- + Models
@@ -143,7 +143,7 @@
- + Examples
& a_free_function diff --git a/doc/html/fusion/functional/concepts/reg_callable.html b/doc/html/fusion/functional/concepts/reg_callable.html index 6e74b0e1..3a20e294 100644 --- a/doc/html/fusion/functional/concepts/reg_callable.html +++ b/doc/html/fusion/functional/concepts/reg_callable.html @@ -28,7 +28,7 @@ Object- + Description
@@ -37,7 +37,7 @@ can appear immediately to the left of a function call operator.
- + Refinement of
@@ -67,7 +67,7 @@- + Expression requirements
@@ -114,7 +114,7 @@- + Models
@@ -126,7 +126,7 @@
- + Examples
& a_free_function diff --git a/doc/html/fusion/functional/generation/functions/mk_fused.html b/doc/html/fusion/functional/generation/functions/mk_fused.html index 79b59cd6..4b2696e7 100644 --- a/doc/html/fusion/functional/generation/functions/mk_fused.html +++ b/doc/html/fusion/functional/generation/functions/mk_fused.html @@ -28,7 +28,7 @@ make_fused- + Description
@@ -37,7 +37,7 @@ conversion is applied to the target function.
- + Synopsis
template <typename F> @@ -45,7 +45,7 @@ make_fused(F const & f);- + Parameters
@@ -91,7 +91,7 @@
- + Expression Semantics
@@ -104,14 +104,14 @@ Semantics: Returns afused
adapter forf
.- + Header
#include <boost/fusion/functional/generation/make_fused.hpp> #include <boost/fusion/include/make_fused.hpp>- + Example
float sub(float a, float b) { return a - b; } @@ -126,7 +126,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/generation/functions/mk_fused_fobj.html b/doc/html/fusion/functional/generation/functions/mk_fused_fobj.html index a788d191..c7c7f711 100644 --- a/doc/html/fusion/functional/generation/functions/mk_fused_fobj.html +++ b/doc/html/fusion/functional/generation/functions/mk_fused_fobj.html @@ -28,7 +28,7 @@ make_fused_function_object- + Description
@@ -38,7 +38,7 @@ conversion is applied to the target function.
- + Synopsis
template <typename F> @@ -46,7 +46,7 @@ make_fused_function_object(F const & f);- + Parameters
@@ -92,7 +92,7 @@
- + Expression Semantics
@@ -106,14 +106,14 @@ forf
.- + Header
#include <boost/fusion/functional/generation/make_fused_function_object.hpp> #include <boost/fusion/include/make_fused_function_object.hpp>- + Example
struct sub @@ -141,7 +141,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/generation/functions/mk_fused_proc.html b/doc/html/fusion/functional/generation/functions/mk_fused_proc.html index 28a029ed..8cbf7f45 100644 --- a/doc/html/fusion/functional/generation/functions/mk_fused_proc.html +++ b/doc/html/fusion/functional/generation/functions/mk_fused_proc.html @@ -28,7 +28,7 @@ make_fused_procedure- + Description
@@ -38,7 +38,7 @@ conversion applied to the target function.
- + Synopsis
template <typename F> @@ -46,7 +46,7 @@ make_fused_procedure(F const & f);- + Parameters
@@ -92,7 +92,7 @@
- + Expression Semantics
@@ -106,14 +106,14 @@f
.- + Header
#include <boost/fusion/functional/generation/make_fused_procedure.hpp> #include <boost/fusion/include/make_fused_procedure.hpp>- + Example
vector
<int,int,int> v(1,2,3); @@ -122,7 +122,7 @@ assert(front
(v) == 0);- + See also
diff --git a/doc/html/fusion/functional/generation/functions/mk_unfused.html b/doc/html/fusion/functional/generation/functions/mk_unfused.html index f82a937b..d0e7debb 100644 --- a/doc/html/fusion/functional/generation/functions/mk_unfused.html +++ b/doc/html/fusion/functional/generation/functions/mk_unfused.html @@ -28,7 +28,7 @@ make_unfused- + Description
@@ -38,7 +38,7 @@ conversion is applied to the target function.
- + Synopsis
template <typename F> @@ -46,7 +46,7 @@ make_unfused(F const & f);- + Parameters
@@ -92,7 +92,7 @@
- + Expression Semantics
@@ -105,14 +105,14 @@ Semantics: Returns aunfused
adapter forf
.- + Header
#include <boost/fusion/functional/generation/make_unfused.hpp> #include <boost/fusion/include/make_unfused.hpp>- + Example
struct fused_incrementer @@ -138,7 +138,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/generation/metafunctions/mk_fused.html b/doc/html/fusion/functional/generation/metafunctions/mk_fused.html index 780e9ffa..5aff0c2e 100644 --- a/doc/html/fusion/functional/generation/metafunctions/mk_fused.html +++ b/doc/html/fusion/functional/generation/metafunctions/mk_fused.html @@ -28,21 +28,21 @@ make_fused- + Description
Returns the result type of
make_fused
.- + Header
#include <boost/fusion/functional/generation/make_fused.hpp> #include <boost/fusion/include/make_fused.hpp>- + Synopsis
namespace result_of @@ -55,7 +55,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/generation/metafunctions/mk_fused_fobj.html b/doc/html/fusion/functional/generation/metafunctions/mk_fused_fobj.html index d5d8434b..1ca685dd 100644 --- a/doc/html/fusion/functional/generation/metafunctions/mk_fused_fobj.html +++ b/doc/html/fusion/functional/generation/metafunctions/mk_fused_fobj.html @@ -28,21 +28,21 @@ make_fused_function_object- + Description
Returns the result type of
make_fused_function_object
.- + Header
#include <boost/fusion/functional/generation/make_fused_function_object.hpp> #include <boost/fusion/include/make_fused_function_object.hpp>- + Synopsis
namespace result_of @@ -55,7 +55,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/generation/metafunctions/mk_fused_proc.html b/doc/html/fusion/functional/generation/metafunctions/mk_fused_proc.html index eae2905b..0bde6a1e 100644 --- a/doc/html/fusion/functional/generation/metafunctions/mk_fused_proc.html +++ b/doc/html/fusion/functional/generation/metafunctions/mk_fused_proc.html @@ -28,21 +28,21 @@ make_fused_procedure- + Description
Returns the result type of
make_fused_procedure
.- + Header
#include <boost/fusion/functional/generation/make_fused_procedure.hpp> #include <boost/fusion/include/make_fused_procedure.hpp>- + Synopsis
namespace result_of @@ -55,7 +55,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/generation/metafunctions/mk_unfused.html b/doc/html/fusion/functional/generation/metafunctions/mk_unfused.html index ec454c28..0d38531e 100644 --- a/doc/html/fusion/functional/generation/metafunctions/mk_unfused.html +++ b/doc/html/fusion/functional/generation/metafunctions/mk_unfused.html @@ -28,21 +28,21 @@ make_unfused- + Description
Returns the result type of
make_unfused
.- + Header
#include <boost/fusion/functional/generation/make_unfused.hpp> #include <boost/fusion/include/make_unfused.hpp>- + Synopsis
namespace result_of @@ -55,7 +55,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/invocation/functions/invoke.html b/doc/html/fusion/functional/invocation/functions/invoke.html index 108f84bb..a05f4991 100644 --- a/doc/html/fusion/functional/invocation/functions/invoke.html +++ b/doc/html/fusion/functional/invocation/functions/invoke.html @@ -27,7 +27,7 @@ invoke- + Description
@@ -49,7 +49,7 @@ Constructors can be called applying Boost.Functional/Factory.
- + Synopsis
template< @@ -67,7 +67,7 @@ invoke(Function f, Sequence const & s);- + Parameters
@@ -133,7 +133,7 @@
- + Expression Semantics
@@ -149,20 +149,20 @@ as arguments and returns the result of the call expression.- + Header
#include <boost/fusion/functional/invocation/invoke.hpp>- + Example
std::plus
<int> add; assert(invoke(add,make_vector
(1,1)) == 2);- + See also
diff --git a/doc/html/fusion/functional/invocation/functions/invoke_fobj.html b/doc/html/fusion/functional/invocation/functions/invoke_fobj.html index 79702ccc..4743ddd5 100644 --- a/doc/html/fusion/functional/invocation/functions/invoke_fobj.html +++ b/doc/html/fusion/functional/invocation/functions/invoke_fobj.html @@ -28,7 +28,7 @@ invoke_function_object- + Description
@@ -43,7 +43,7 @@ Constructors can be called applying Boost.Functional/Factory.
- + Synopsis
template< @@ -61,7 +61,7 @@ invoke_function_object(Function f, Sequence const & s);- + Parameters
@@ -127,7 +127,7 @@
- + Expression Semantics
@@ -143,13 +143,13 @@ as arguments and returns the result of the call expression.- + Header
#include <boost/fusion/functional/invocation/invoke_function_object.hpp>- + Example
struct sub @@ -175,7 +175,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/invocation/functions/invoke_proc.html b/doc/html/fusion/functional/invocation/functions/invoke_proc.html index 5e356cf0..bf1bd7ac 100644 --- a/doc/html/fusion/functional/invocation/functions/invoke_proc.html +++ b/doc/html/fusion/functional/invocation/functions/invoke_proc.html @@ -28,7 +28,7 @@ invoke_procedure- + Description
@@ -52,7 +52,7 @@ isn't implemented).
- + Synopsis
template< @@ -70,7 +70,7 @@ invoke_procedure(Function f, Sequence const & s);- + Parameters
@@ -136,7 +136,7 @@
- + Expression Semantics
@@ -151,13 +151,13 @@ as arguments.- + Header
#include <booost/fusion/functional/invocation/invoke_procedure.hpp>- + Example
vector
<int,int> v(1,2); @@ -166,7 +166,7 @@ assert(front
(v) == 3);- + See also
diff --git a/doc/html/fusion/functional/invocation/limits.html b/doc/html/fusion/functional/invocation/limits.html index 29fbd57c..ab3a9eba 100644 --- a/doc/html/fusion/functional/invocation/limits.html +++ b/doc/html/fusion/functional/invocation/limits.html @@ -27,13 +27,13 @@ Limits- + Header
#include <boost/fusion/functional/invocation/limits.hpp>- + Macros
diff --git a/doc/html/fusion/functional/invocation/metafunctions/invoke.html b/doc/html/fusion/functional/invocation/metafunctions/invoke.html index cd28e075..79011aa5 100644 --- a/doc/html/fusion/functional/invocation/metafunctions/invoke.html +++ b/doc/html/fusion/functional/invocation/metafunctions/invoke.html @@ -27,14 +27,14 @@ invoke
- + Description
Returns the result type of
invoke
.- + Synopsis
namespace result_of @@ -50,7 +50,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/invocation/metafunctions/invoke_fobj.html b/doc/html/fusion/functional/invocation/metafunctions/invoke_fobj.html index a18e8649..735796fd 100644 --- a/doc/html/fusion/functional/invocation/metafunctions/invoke_fobj.html +++ b/doc/html/fusion/functional/invocation/metafunctions/invoke_fobj.html @@ -28,14 +28,14 @@ invoke_function_object- + Description
Returns the result type of
invoke_function_object
.- + Synopsis
namespace result_of @@ -51,7 +51,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/invocation/metafunctions/invoke_proc.html b/doc/html/fusion/functional/invocation/metafunctions/invoke_proc.html index caed085c..18c86d1a 100644 --- a/doc/html/fusion/functional/invocation/metafunctions/invoke_proc.html +++ b/doc/html/fusion/functional/invocation/metafunctions/invoke_proc.html @@ -28,14 +28,14 @@ invoke_procedure- + Description
Returns the result type of
invoke_procedure
.- + Synopsis
namespace result_of @@ -51,7 +51,7 @@ }- + See also
diff --git a/doc/html/fusion/notes.html b/doc/html/fusion/notes.html index d8c6b646..eafe190c 100644 --- a/doc/html/fusion/notes.html +++ b/doc/html/fusion/notes.html @@ -27,7 +27,7 @@ Notes- + Recursive Inlined Functions
@@ -40,7 +40,7 @@ remains linear.- + Overloaded Functions
@@ -50,7 +50,7 @@ given a key,
k
.- + Tag Dispatching
- + Extensibility
@@ -136,7 +136,7 @@ it very cheap to pass around.
- + Element Conversion
@@ -157,7 +157,7 @@ Arrays:
- Array arguments are deduced to reference to const types. For example [10]: + Array arguments are deduced to reference to const types. For example [10]:
@@ -185,7 +185,7 @@make_list
("Donald", "Daisy")list
<void (*)(int)>- + boost::ref
@@ -225,7 +225,7 @@
-[10] +
[10] Note that the type of a string literal is an array of const characters, not
const char*
. To getmake_list
to create alist
with an element of a non-const array type one must use theref
diff --git a/doc/html/fusion/tuple/class_template_tuple.html b/doc/html/fusion/tuple/class_template_tuple.html index 46adf5a4..361fd28a 100644 --- a/doc/html/fusion/tuple/class_template_tuple.html +++ b/doc/html/fusion/tuple/class_template_tuple.html @@ -48,7 +48,7 @@ in future releases of fusion.- + Synopsis
template< diff --git a/doc/html/fusion/tuple/class_template_tuple/construction.html b/doc/html/fusion/tuple/class_template_tuple/construction.html index cd28d564..22dc1ef6 100644 --- a/doc/html/fusion/tuple/class_template_tuple/construction.html +++ b/doc/html/fusion/tuple/class_template_tuple/construction.html @@ -27,7 +27,7 @@ Construction- + Description
@@ -38,7 +38,7 @@ in this section.
- + Specification
diff --git a/doc/html/fusion/tuple/class_template_tuple/element_access.html b/doc/html/fusion/tuple/class_template_tuple/element_access.html index 66eee88e..8766d0fe 100644 --- a/doc/html/fusion/tuple/class_template_tuple/element_access.html +++ b/doc/html/fusion/tuple/class_template_tuple/element_access.html @@ -28,7 +28,7 @@ access- + Description
@@ -37,7 +37,7 @@ function to provide access to it's elements by zero based numeric index.
- + Specification
template<int I, T> diff --git a/doc/html/fusion/tuple/class_template_tuple/relational_operators.html b/doc/html/fusion/tuple/class_template_tuple/relational_operators.html index d3d3f449..d4879bdc 100644 --- a/doc/html/fusion/tuple/class_template_tuple/relational_operators.html +++ b/doc/html/fusion/tuple/class_template_tuple/relational_operators.html @@ -28,7 +28,7 @@ operators- + Description
@@ -36,7 +36,7 @@ Tuple provides the standard boolean relational operators.
- + Specification
diff --git a/doc/html/fusion/tuple/class_template_tuple/tuple_creation_functions.html b/doc/html/fusion/tuple/class_template_tuple/tuple_creation_functions.html index cf7e9869..e9383301 100644 --- a/doc/html/fusion/tuple/class_template_tuple/tuple_creation_functions.html +++ b/doc/html/fusion/tuple/class_template_tuple/tuple_creation_functions.html @@ -28,7 +28,7 @@ creation functions- + Description
@@ -38,7 +38,7 @@ functions are described in this section.
- + Specification
template<typename T1, typename T2, ..., typename TN> diff --git a/doc/html/fusion/tuple/class_template_tuple/tuple_helper_classes.html b/doc/html/fusion/tuple/class_template_tuple/tuple_helper_classes.html index fb12fafd..0bb111b0 100644 --- a/doc/html/fusion/tuple/class_template_tuple/tuple_helper_classes.html +++ b/doc/html/fusion/tuple/class_template_tuple/tuple_helper_classes.html @@ -28,7 +28,7 @@ helper classes- + Description
@@ -37,7 +37,7 @@ tuple size, and the element types.
- + Specification
tuple_size<T>::value diff --git a/doc/html/fusion/tuple/pairs.html b/doc/html/fusion/tuple/pairs.html index 8fa351b4..f45b4a8f 100644 --- a/doc/html/fusion/tuple/pairs.html +++ b/doc/html/fusion/tuple/pairs.html @@ -27,7 +27,7 @@ Pairs- + Description
@@ -36,7 +36,7 @@ as if it were a 2 element tuple.
- + Specification
tuple_size<std::pair<T1, T2> >::value diff --git a/doc/html/fusion/view/repetitive_view.html b/doc/html/fusion/view/repetitive_view.html new file mode 100644 index 00000000..1cde08a5 --- /dev/null +++ b/doc/html/fusion/view/repetitive_view.html @@ -0,0 +1,282 @@ + + + +repetitive_view + + + + + + + + +
![]() |
+Home | +Libraries | +People | +FAQ | +More | +
+ repetitive_view
presents
+ a view which iterates over a given Sequence
+ repeatedly. Because a repetitive_view
+ has infinite length, it can only be used when some external condition determines
+ the end. Thus, initializing a fixed length sequence with a repetitive_view
is okay, but printing a
+ repetitive_view
to std::cout
+ is not.
+
#include <boost/fusion/view/repetitive_view.hpp> +#include <boost/fusion/include/repetitive_view.hpp> ++
template <typename Sequence> +struct repetitive_view; ++
+ + Parameter + + |
+
+ + Description + + |
+
+ + Default + + |
+
---|---|---|
+
+ |
+
+ + An arbitrary Fusion Forward + Sequence + + |
++ | +
Notation
+RV
+ A repetitive_view
type
+
s
+ An instance of Sequences
+
rv
, rv1
, rv2
+ Instances of RV
+
+ + Expression + + |
+
+ + Return Type + + |
+
+ + Semantics + + |
+
---|---|---|
+
+ |
++ | +
+
+ Creates an |
+
+
+ |
++ | +
+
+ Copy constructs an |
+
+
+ |
++ | +
+
+ Assigns to a |
+
+
+ |
++ + | ++ | +
+
+ |
++ + | +
+ + Creates an unreachable iterator (since the sequnce is infinite) + + |
+
+ + Expression + + |
---|
+
+ |
+
+ |
typedef+vector
<int, char, double> vec1; +typedefvector
<int, char, double, int, char> vec2; + +vec1 v1(1, 'c', 2.0); +vec2 v2(repetitive_view<vec1>(v1)); + +std::cout << v2 << std::endl; // 1, 'c', 2.0, 1, 'c' +
+ | + |
Last revised: July 04, 2010 at 19:06:18 GMT |
+Last revised: July 07, 2010 at 20:51:04 GMT |